Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Omniplex
m trim usage info
Ookami (talk | contribs)
m 181 revisions imported
 
(158 intermediate revisions by 49 users not shown)
Line 1: Line 1:
{{{!}} class="messagebox" id="tdeprecated"
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
{{!}}[[Image:Red-x.gif|deprecated template]]
{{Ombox
{{!}}'''Template <includeonly>[[Category:Deprecated templates|{{PAGENAME}}]]{{PAGENAME}}</includeonly><noinclude>{&#123;PAGENAME&#125;}</noinclude> has been deprecated'''.<br />Please use {{{use|'''{{Tlx|{{{1|x1}}}}}'''}}} instead.
| image = [[File:Stop hand nuvola.svg|40px]]
{{!}}}<noinclude>
| 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>}}}}}}
:{{PAGENAME}} adds a template to [[:Category:Deprecated templates]] showing a warning.
  | &#32;Please {{#if:{{{3|}}}
:Usage: <code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|{{{1|x1}}}}} <code>&lt;/noinclude&gt;</code> <div align="right">{{Lts/|{{PAGENAME}}}}</div>
    |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
 
    |{{#if:{{{new|}}}
[[Category:Template templates|{{PAGENAME}}]]
      |see [[{{{new}}}]]
[[Category:Redirect templates|{{PAGENAME}}]]
      |use [[Template:{{{2}}}]]
      }}
    }} instead.
}} {{{note|}}}
}}{{#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