Difference between revisions of "Template:Deprecated template"
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...) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
− | |||
{{Ombox | {{Ombox | ||
− | | type = content | + | | demospace = {{{demospace|}}} |
− | | text = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}| by {{{by}}} | + | | type = style |
− | |  Please | + | | image = [[File:Imbox content.png|40px|alt=|link=]] |
− | + | | text = [[{{{old|Template:{{{1|{{PAGENAME}}}}}}}}]] is [[deprecation|deprecated]]{{#if:{{{by|}}}| by {{{by}}}}}.{{#if:{{{new|{{{2<includeonly>|</includeonly>}}}}}} | |
− | + | |  Please use [[{{{new|Template:{{{2}}}}}}{{#if:{{{3|}}} | |
− | + | |<nowiki>|</nowiki>{{{3}}} | |
− | + | }}]] instead. | |
− | |||
− | |||
}} {{{note|}}} | }} {{{note|}}} | ||
}}{{#ifeq:{{{nocat|}}}|true | }}{{#ifeq:{{{nocat|}}}|true | ||
− | ||{{Template | + | ||{{#ifeq:{{ARTICLESPACE}}|Template |
− | |{{ | + | |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise subpages, like /doc, /sandbox or /testcasespages --> |
− | |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1 | + | |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself --> |
− | + | |{{Dated maintenance category|Deprecated templates|from|{{{date|}}}}} | |
}} | }} | ||
− | + | }} | |
|{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}} | |{{#ifeq:{{{old|}}}|{{FULLPAGENAME}}||[[Category:Pages using deprecated templates]]}} | ||
}} | }} | ||
− | + | }}<noinclude> | |
− | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | <!-- | + | <!-- Add categories to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
Revision as of 17:12, 31 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. |