Template:Deprecated template: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Netoholic
add note parameter, for a free-form option
Ookami (talk | contribs)
m 181 revisions imported
 
(170 intermediate revisions by 52 users not shown)
Line 1: Line 1:
<div class="messagebox" id="tdeprecated">
{{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B=
<div style="float: left;">[[Image:Diamond-caution.png|50px| ]]</div>
{{Ombox
<div style="margin-left: 60px;">'''This template has been deprecated.'''<br>You are encouraged to use {{{note|[[Template:{{ucfirst:{{{1}}}}}]]}}} instead. This template is available for the moment for compatibility and reference. <includeonly>[[Category:Deprecated templates|{{PAGENAME}}]]</includeonly></div>
| image = [[File:Stop hand nuvola.svg|40px]]
</div><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>}}}}}}
[[Category:Template templates|{{{PAGENAME}}}]]
  | &#32;Please {{#if:{{{3|}}}
    |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}}
    |{{#if:{{{new|}}}
      |see [[{{{new}}}]]
      |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