Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pathoschild
fixed {{deprecated template}}
Ookami (talk | contribs)
m 181 revisions imported
 
(136 intermediate revisions by 42 users not shown)
Line 1: Line 1:
<noinclude>{{deprecated template|tdeprecated|deprecated template|<nowiki>old template|new template|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</noinclude>
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
{| class="messagebox" id="tdeprecated"
{{Ombox
| rowspan="2" | [[Image:Red x.png]]
| image = [[File:Stop hand nuvola.svg|40px]]
! Template&#160;<includeonly>{{{category|[[Category:Deprecated templates|{{PAGENAME}}]]}}}<u>{{PAGENAME}}</u></includeonly><noinclude>{&#123;PAGENAME&#125;}</noinclude> has been deprecated.
| type  = delete
|-
| 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>}}}}}}
| align="center" | Please use {{{use|'''{{Tlx|{{{1|x1}}}}}'''}}} instead.
  | &#32;Please {{#if:{{{3|}}}
|}<noinclude>
    |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
----
    |{{#if:{{{new|}}}
;'''Usage&#58;'''
      |see [[{{{new}}}]]
:<code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|{{{1|x1}}}}} <code>&lt;/noinclude&gt;</code>  
      |use [[Template:{{{2}}}]]
:<code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|use&#61;unlinked message}} <code>&lt;/noinclude&gt;</code>
      }}
{{PAGENAME}} adds a template to [[:Category:Deprecated templates]] showing a warning.
    }} instead.
 
}} {{{note|}}}
[[Category:Template templates|{{PAGENAME}}]]
}}{{#ifeq:{{{nocat|}}}|true
[[Category:Redirect templates|{{PAGENAME}}]]
  ||{{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