Diferencia entre revisiones de «Plantilla:Deprecated template»
De Familia Sanchez Arjona
m (Protected Template:Tdeprecated: high-use template; vandalism target [edit=sysop:move=sysop]) |
(Update to {{mbox}}, thus now adapts its looks depending on page type. Changed from the CSS hack "display:none;" to using proper "#if:" logic instead. And fixed a lot more. Tested in the /sandbox.) |
||
Línea 1: | Línea 1: | ||
− | {| | + | {{mbox |
− | | | + | | type = style |
− | | | + | | image = [[Image:Symbol opinion vote.svg|40px]] |
− | + | | text = | |
− | {{#if:{{{new|{{{2|}}}}}}|< | + | {{#if:{{{new|{{{2|}}} }}} |
− | <!-- | + | | <!-- New usage (with or without date) |
− | + | -->The template {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please use {{{new|{{[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}} | |
− | + | | <nowiki>|</nowiki>{{{3}}} | |
− | {{documentation | + | }}}} }}} instead. |
+ | | <!-- Old usage (deprecated, being switched) | ||
+ | -->The template {{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} is [[:Category:Deprecated templates|deprecated]]. Please use {{{use|{{[[Template:{{{1}}}|{{{1}}}]]}}}}} instead. <br> <small>This usage is deprecated. Please replace it with <nowiki>{{tdeprecated|</nowiki>{{PAGENAME}}<nowiki>|</nowiki>{{{1}}}<nowiki>}}</nowiki>.</small> <includeonly>{{{category|[[Category:Deprecated use of tdeprecated]]}}}</includeonly> | ||
+ | }} | ||
+ | }}<includeonly>{{{category|{{#ifeq:{{ARTICLESPACE}}|Template | ||
+ | | {{#if:{{{date|}}} | ||
+ | | [[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]] | ||
+ | | [[Category:Deprecated templates|{{PAGENAME}}]] | ||
+ | }} | ||
+ | | [[Category:Pages using deprecated templates]] | ||
+ | }} }}}</includeonly><noinclude> | ||
+ | |||
+ | {{documentation}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revisión del 18:58 17 ago 2008
40px | The template {{Deprecated template}} is deprecated. Please use {{[[Template:{{{1}}}|{{{1}}}]]}} instead. This usage is deprecated. Please replace it with {{tdeprecated|Deprecated template|{{{1}}}}}. |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |