Difference between revisions of "Template:Deprecated template"
(Undid revision 671618967 by GeoffreyT2000 (talk) Remove recently introduced weasel word "modern".) |
m (Protected "Template:Deprecated template": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed ac...) |
||
Line 1: | Line 1: | ||
+ | {{ {{{|safesubst:}}}#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B= | ||
{{Ombox | {{Ombox | ||
− | + | | type = content | |
− | | type = | + | | text = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}| by {{{by}}}}}{{#if:{{{historical|}}}|, but preserved for historical reasons}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}} |
− | + | |  Please {{#if:{{{3|}}} | |
− | | text = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}| by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}} | + | |use {{tlx|{{{new|{{{2}}}}}}|{{{3}}}}} |
− | |  Please use | + | |{{#if:{{{new|}}} |
− | + | |see [[{{{new}}}]] | |
− | }} | + | |use [[Template:{{{2}}}]] |
+ | }} | ||
+ | }} instead. | ||
}} {{{note|}}} | }} {{{note|}}} | ||
}}{{#ifeq:{{{nocat|}}}|true | }}{{#ifeq:{{{nocat|}}}|true | ||
− | ||{{ | + | ||{{Template other |
− | |{{ | + | |{{When on basepage<!-- Don't categorise subpages, like /doc, /sandbox or /testcases --> |
− | |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- | + | |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1|{{PAGENAME}}}}}}}<!-- Only for the deprecated template itself --> |
− | |{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}} | + | |<includeonly>{{#if:{{{historical|}}}|[[Category:Deprecated templates kept for historical reasons]]|{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}}}}</includeonly> |
}} | }} | ||
− | + | }} | |
|{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}} | |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}} | ||
}} | }} | ||
− | }}<noinclude> | + | }} |
+ | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | <!-- | + | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
</noinclude> | </noinclude> |
Revision as of 19:21, 10 January 2018
Template:Deprecated template is deprecated. Please use [[Template:{{{2}}}]] instead. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |