Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Omniplex
fix sort key, almost complete rewrite
Ookami (talk | contribs)
m 181 revisions imported
 
(166 intermediate revisions by 50 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|50px|deprecated template]]
{{Ombox
|'''Template <includeonly>[[Category:Deprecated templates|{{PAGENAME}}]]{{PAGENAME}}</includeonly><noinclude>{&#123;PAGENAME&#125;}</noinclude> has been deprecated''', it's still available (or redirected) for compatibility and reference. You are encouraged to use '''{{{Tlx|{{{1}}}}}}''' 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>}}}}}}
{{Lts}} adds a template to [[:Category:Deprecated templates]] and shows a warning (see above), usage:  
  | &#32;Please {{#if:{{{3|}}}
:<code>&lt;noinclude&gt;</code> {{Tlx|{{PAGENAME}}|{{{1}}}}} <code>&lt;/noinclude&gt;</code>
    |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