Diferencia entre revisiones de «Plantilla:Deprecated template»
De Familia Sanchez Arjona
(rv broken modification, the docu with examples is on the talk page, "use=something else" is possible) |
(rm unnecessary {{1}} calls, format, add additional example utilizing "use=") |
||
Línea 1: | Línea 1: | ||
− | { | + | {| class="messagebox" id="tdeprecated" |
− | + | | rowspan="2" | [[Image:Red-x.gif|deprecated template]] | |
− | ! | + | ! Template <includeonly>[[Category:Deprecated templates|{{PAGENAME}}]]{{PAGENAME}}</includeonly><noinclude>{{PAGENAME}}</noinclude> has been deprecated. |
− | + | |- | |
− | + | | align="center" | Please use {{{use|'''{{Tlx|{{{1|x1}}}}}'''}}} instead. | |
− | + | |}<noinclude> | |
− | + | ==Usage== | |
− | + | {{PAGENAME}} adds a template to [[:Category:Deprecated templates]] showing a warning. | |
− | :Usage: <code><noinclude></code> {{Tlx|{{PAGENAME}}|{{{1|x1}}}}} <code></noinclude></code> <div align="right">{{Lts/|{{PAGENAME}}}}</div> | + | :Usage: <code><noinclude></code> {{Tlx|{{PAGENAME}}|{{{1|x1}}}}} <code></noinclude></code> |
+ | :<code><noinclude></code> {{Tlx|{{PAGENAME}}|use=message}} <code></noinclude></code> | ||
+ | <div align="right">{{Lts/|{{PAGENAME}}}}</div> | ||
[[Category:Template templates|{{PAGENAME}}]] | [[Category:Template templates|{{PAGENAME}}]] | ||
[[Category:Redirect templates|{{PAGENAME}}]] | [[Category:Redirect templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revisión del 13:00 18 abr 2006
Usage
Deprecated template adds a template to Category:Deprecated templates showing a warning.
- Usage:
<noinclude>
{{Deprecated template|x1}}
</noinclude>
<noinclude>
{{Deprecated template}}
</noinclude>