Template:Deprecated
Used on templates that are in the process of being phased out.
Templates with this notice will be added to the "Deprecated templates" category by default.
Usage
Parameters
1
- Name of the template that replaces the current one, omitting the
Template:
prefix. reason
- A custom reason can be set.
hidecat
- If set to
true
, the template will not be added to the "Deprecated templates" category.
Examples
{{Deprecated}}
{{Deprecated|Infobox item}}
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| title = This template is {{ll|Help:Deprecation|deprecated}}.
| content = This template will eventually be removed.
| alter = Please use {{{2}}} instead.
| #default = {{Error|translation}}
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.