Difference between revisions of "Template:Historical template/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Steel1943
(Create sandbox version of Template:Historical template)
 
imported>Steel1943
(Updating code so that the replacement template shows up in brackets)
Line 3: Line 3:
 
| type = style
 
| type = style
 
| image = [[File:Imbox content.png|40px|alt=|link=]]
 
| image = [[File:Imbox content.png|40px|alt=|link=]]
| text =The template [[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]] is deprecated, but preserved for historical reasons.{{#if:{{{2|}}}| Please use {{{new|[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}
+
| text =The template [[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]] is deprecated, but preserved for historical reasons.{{#if:{{{2|}}}| Please use {{[[Template:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}
     |<nowiki>|</nowiki>{{{3}}}
+
     |&#124;{{{3}}}
     }} }}} instead.}}
+
     }}&#125;&#125; instead.}}
 
}}{{#ifeq:{{{nocat|}}}|true
 
}}{{#ifeq:{{{nocat|}}}|true
 
   ||{{#ifeq:{{ARTICLESPACE}}|Template
 
   ||{{#ifeq:{{ARTICLESPACE}}|Template

Revision as of 03:36, 8 July 2016

Template documentation[view] [edit] [history] [purge]

Usage

This template should be placed on a template page if there is consensus for that template to be deprecated (should no longer be actively used), but where removal of the template would seriously break the functionality of historical project pages like:

  • Archived deletion discussions
  • Talk page archives
  • Arbitration decisions
  • other technical reasons

This template will place pages into Category:Deprecated templates kept for historical reasons, while pages using such deprecated templates will appear in Category:Pages using deprecated templates