Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deprecated

Template page
Template documentation

Mark a template as deprecated and should no longer be used.

See also Template:Deprecated_template.

Usage

If the template is still in use, this warning should be added in <noinclude>...</noinclude> tags at the top of the page. This will not affect any pages where the template is used and the use of the template can be gradually phased out.

If the template is fully deprecated and should no longer be used at all, this warning should be added without the <noinclude>...</noinclude> tags so that it appears whenever the template is used.

Templates marked using this template are added to Category:Deprecated templates. Once all usages of the deprecated template are replaced, the template should be deleted to avoid polluting the template namespace.

Examples

Basic usage

Markup
{{Deprecated}}
Renders as

Suggest alternatives to use instead

Markup
{{Deprecated|{{t link|this}} or {{t link|that}} }}
Renders as

Specify a reason for deprecation

Markup
{{Deprecated|Basic MediaWiki links|Icons of this template harm the readability of the text where it is used.}}
Renders as

Block format

Markup
{{Deprecated
| reason = Icons of this template harm the readability of the text where it is used.
| alternatives = Basic MediaWiki links
}}
Renders as

Template data

Mark a template as deprecated.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Alternatives1 alternatives

Alternative template(s) to use instead of the deprecated one.

Stringsuggested
Reason2 reason

The reason the template was deprecated and its use should be avoided.

Stringsuggested