Template:Deprecated/doc
More actions
To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <noinclude> tags.
When a template is replaced by a different one (or two), simply enter the template's name the parameter(s) without the Template: prefix.
The template automatically sets the following categories:
Usage
{{Deprecated |1= |2= |note= |category= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | replacement template | empty | optional | |
2 | other replacement template | empty | optional | |
note | textual note | empty | optional | |
category | category to set | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Deprecated/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Deprecated/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
Examples
{{deprecated|template}} →
{{deprecated|template|2nd template}} →
{{deprecated|note=Customized note.}} →
{{deprecated|template|note=Customized note.}} →