Difference between revisions of "Template:Deprecated"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "<!--T:(.*)-->" to "")
m (Text replacement - "</>" to "")
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>

Revision as of 15:07, 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}}