Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pathoschild
m tweaked instruction
Ookami (talk | contribs)
m 181 revisions imported
 
(130 intermediate revisions by 41 users not shown)
Line 1: Line 1:
{| class="messagebox" style="width:100%; text-align:left;"
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
|style="width:50px;"| [[Image:Symbol comment vote.png|50px]]
{{Ombox
|style="padding-left:.5em;"|  
| image = [[File:Stop hand nuvola.svg|40px]]
<!-- old usage (deprecated, being switched) -->
| type  = delete
{{#if:{{{new|{{{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}}}<nowiki>}}</nowiki>.{{#if:{{{new|{{{2|}}}}}}||<includeonly>[[Category:Deprecated use of tdeprecated]]</includeonly>}}
| text  = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}|&#32;by {{{by}}}}}{{#if:{{{historical|}}}|, but preserved for historical reasons}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}}
<!-- new usage -->
  | &#32;Please {{#if:{{{3|}}}
{{#if:{{{new|{{{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:{{{new|{{{2|}}}}}}||</div>}}
    |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
|}<includeonly>{{{category|{{#if:{{{date|}}}|[[Category:Templates deprecated since {{{date}}}|{{PAGENAME}}]]|[[Category:Deprecated templates|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
    |{{#if:{{{new|}}}
 
      |see [[{{{new}}}]]
'''Usage:'''
      |use [[Template:{{{2}}}]]
: <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}}]]).
    }} instead.
[[Category:Template templates|{{PAGENAME}}]]
}} {{{note|}}}
[[Category:Redirect templates|{{PAGENAME}}]]
}}{{#ifeq:{{{nocat|}}}|true
  ||{{Template other
      |{{Sandbox other|<!-- Don't categorise subpages, like /doc, /sandbox or /testcases -->|
          {{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1|{{PAGENAME}}}}}}}<!-- Only for the deprecated template itself -->
            |<includeonly>{{#if:{{{historical|}}}|[[Category:Deprecated templates kept for historical reasons]]|[[Category:Deprecated templates]]}}</includeonly>
          }}
      }}
      |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}}
    }}
  }}
}}<noinclude>
{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 01:40, 4 September 2020