Difference between revisions of "Template:Deprecated"

m (Text replacement - "</translate>" to "")
m (Text replacement - "<languages/>" to "")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<languages/>
+
 
 
</noinclude>{{#switch:
 
</noinclude>{{#switch:
 
| =
 
| =
Line 7: Line 7:
 
  | text =
 
  | text =
  
<!--T:1-->
+
 
 
This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility.
 
This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility.
  
<!--T:2-->
 
This feature was deprecated in version <tvar|ver>{{trim|{{{1|??}}}}}</>. {{{2|}}}{{#if:{{{newvarname|}}}{{{newvarlink|}}}|
 
  
''<!--T:3--> Please see <tvar|page>'''[[{{#if:{{{newvarlink|}}}|{{{newvarlink}}}|Manual:{{{newvarname}}}}}|{{{newvarname}}}]]'''</> for an alternative way to use this feature.''
+
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.''
 
}}
 
}}
 
}}<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>
Line 23: Line 23:
  
  
== Parameters == <!--T:4-->
+
== Parameters ==  
  
  
;1: <!--T:5--> MediaWiki version number
+
;1: MediaWiki version number
;2: <!--T:6--> Optional message
+
;2: Optional message
;newvarname: <!--T:7--> Name of the variable replacing this one
+
;newvarname: Name of the variable replacing this one
;newvarlink: <!--T:8--> Page documenting the new variable. (Defaults to <code>Manual:{newvarname}</code>.)
+
;newvarlink: Page documenting the new variable. (Defaults to <code>Manual:{newvarname}</code>.)
  
 
== Examples ==
 
== Examples ==

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}}