Template:Deprecated: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Added further details to usage syntax, as shown by Serpent King.)
(Undid edit by Jordan2009: )
Tag: Undo
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Deprecated.png|20px|right|This has deprecated content. Please update it.|link={{fullurl:{{FULLPAGENAME}}|action=edit}}]]<includeonly>{{#switch:{{NAMESPACE}}|Smasher=[[Category:Smasher articles with deprecated code|{{PAGENAME}}]]|User=|Template=|[[Category:Articles with deprecated code|{{PAGENAME}}]]}}</includeonly><noinclude>
[[File:Deprecated.png|20px|right|This has deprecated content. Please update it.|link={{fullurl:{{FULLPAGENAME}}|action=edit}}]]<includeonly>{{#switch:{{NAMESPACE}}|Smasher=[[Category:Smasher articles with deprecated code]]|User=|Template=|[[Category:Articles with deprecated code]]}}</includeonly><noinclude>
==Usage==
==Usage==
Place {{t|deprecated}} to the right of items in articles that are considered deprecated. This places a badge on the item, and adds the article to [[:Category:Articles with deprecated code]].
Place {{t|deprecated}} to the right of items in articles that are considered deprecated. This places a badge on the item, and adds the article to [[:Category:Articles with deprecated code]].
Articles that have these badges can have the code {{t|DeprecationReason|place instructions here}} placed at the top, where you can display instructions on what to replace deprecated content with.
Templates with out of date parameters should also have the {{t|DeprecationReason|place instructions here}} template placed at the top, where you can display instructions on what to replace deprecated content with.
[[Category:Article management templates|{{PAGENAME}}]]</noinclude>
[[Category:Article management templates]]</noinclude>

Latest revision as of 20:23, May 13, 2023

This has deprecated content. Please update it.

Usage

Place {{deprecated}} to the right of items in articles that are considered deprecated. This places a badge on the item, and adds the article to Category:Articles with deprecated code. Templates with out of date parameters should also have the {{DeprecationReason|<place instructions here>}} template placed at the top, where you can display instructions on what to replace deprecated content with.