Predefinição:Deprecated

This page is a translated version of the page Template:Deprecated and the translation is 30% complete.
Outdated translations are marked like this.
Documentação da predefinição

Examples

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

Copy and paste template

{{Deprecated
|replacement =
|1 =
|newvarlink =
|version =
|2 =
|newvarname =
|nocat =
|name = 
}}

Template data

[ver · discutir · editar]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Deprecated

Used to mark a feature as deprecated.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
replacementreplacement

used to identify the kind of deprecated page. Allowed values are mw (for a MediaWiki release) or an extension name, or empty.

Suggested values
mw extensionName
Default
empty
Stringoptional
varVersion1

identifies old MW version of this deprecated item.

Stringoptional
newvarlinknewvarlink

link which identifies a replacement page (if exists).

Default
Manual:{newvarname}
URLoptional
mwVersionversion

identifies the new version of MediaWiki when the deprecated function was moved to core

Stringoptional
optText2

free additional text

Default
none
Example
Legacy.
Stringoptional
newvarnamenewvarname

page name of Manual: namespace identifying newvarlink

Stringoptional
nocatnocat

when defined this flag means NOT to assign the page to Category:MediaWiki deprecated or obsolete features

Default
empty
Example
nocat=1
Booleanoptional
namename

text to display with the category message (validated by nocat)

Default
empty
Stringoptional