Difference between revisions of "Template:Deprecated"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<!--T:(.*)-->" to "")
m (Text replacement - "<languages/>" to "")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<languages/>
+
 
 
</noinclude>{{#switch:
 
</noinclude>{{#switch:
 
| =
 
| =
Line 11: Line 11:
  
  
This feature was deprecated in version <tvar|ver>{{trim|{{{1|??}}}}}</>. {{{2|}}}{{#if:{{{newvarname|}}}{{{newvarlink|}}}|
+
This feature was deprecated in version <tvar|ver>{{trim|{{{1|??}}}}}. {{{2|}}}{{#if:{{{newvarname|}}}{{{newvarlink|}}}|
  
'' Please see <tvar|page>'''[[{{#if:{{{newvarlink|}}}|{{{newvarlink}}}|Manual:{{{newvarname}}}}}|{{{newvarname}}}]]'''</> for an alternative way to use this feature.''
+
'' Please see <tvar|page>'''[[{{#if:{{{newvarlink|}}}|{{{newvarlink}}}|Manual:{{{newvarname}}}}}|{{{newvarname}}}]]''' for an alternative way to use this feature.''
 
}}
 
}}
 
}}<includeonly>{{#if:{{{nocat|}}}||[[Category:MediaWiki deprecated or obsolete features{{#translation:}}|{{{name|{{PAGENAME}}}}}]]}}</includeonly>
 
}}<includeonly>{{#if:{{{nocat|}}}||[[Category:MediaWiki deprecated or obsolete features{{#translation:}}|{{{name|{{PAGENAME}}}}}]]}}</includeonly>

Latest revision as of 20:38, 21 December 2019


Template documentation

Parameters

1
MediaWiki version number
2
Optional message
newvarname
Name of the variable replacing this one
newvarlink
Page documenting the new variable. (Defaults to Manual:{newvarname}.)

Examples

  • {{Deprecated|1.20.0}}
  • {{Deprecated|1.20.0|Optional message}}
  • {{Deprecated|1.20.0|newvarname=$IP|newvarlink=Special:MyLanguage/Manual:$IP}}