Template:Deprecated template: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Pagrashtak Rv - I see no discussion of deprecating this template |
meta>Pathoschild merged in {{deprecated template}} with tracking category for old usage and check to switch between old and new syntaxes |
||
Line 1: | Line 1: | ||
{| class="messagebox" | {| class="messagebox" style="width:100%;" | ||
| | |style="width:50px;"| [[Image:Symbol comment vote.png|50px]] | ||
|style="padding-left:.5em;"| | |||
<!-- old usage (deprecated, being switched) --> | |||
{{#if:{{{2|}}}|<div style="display:none;">}}The template {{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} is deprecated. Please use {{{use|{{[[Template:{{{1}}}|{{{1}}}]]}}}}} instead.<br /><small>This usage is deprecated. Please replace it with <nowiki>{{tdeprecated|</nowiki>{{PAGENAME}}|{{{1}}}|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>.{{#if:{{{2|}}}|<includeonly>[[Category:Deprecated use of tdeprecated]]</includeonly>}} | |||
|}< | <!-- new usage --> | ||
---- | {{#if:{{{2|}}}|</div>|<div style="display:none;">}}'''The template {{[[Template:{{{1}}}|{{{1}}}]]}} is deprecated. Please use {{{new|{{[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}|<nowiki>|</nowiki>}}{{{3|}}}}}}}} instead.{{#if:{{{2|}}}||</div>}} | ||
|}<includeonly>{{{category|{{#if:{{{date|}}}|[[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]]|[[Category:Deprecated templates|{{PAGENAME}}]]}}}}}</includeonly><noinclude> | |||
: | |||
:< | |||
{{PAGENAME}} | |||
'''Usage:''' | |||
: <code><nowiki>{{tdeprecated|old template name|new template name}}</nowiki></code> (categorises to [[:Category:Deprecated templates|Deprecated templates]]). | |||
: <code><nowiki>{{tdeprecated|old template name|new template name|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code> (categorises to [[:Category:Templates deprecated since {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|Templates deprecated since {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]). | |||
[[Category:Template templates|{{PAGENAME}}]] | [[Category:Template templates|{{PAGENAME}}]] | ||
[[Category:Redirect templates|{{PAGENAME}}]] | [[Category:Redirect templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 17:37, 5 October 2006
Usage:
{{tdeprecated|old template name|new template name}}
(categorises to Deprecated templates).{{tdeprecated|old template name|new template name|date=November 2024}}
(categorises to Templates deprecated since November 2024).