Template:Deprecated template/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
do not overcomplicate
Ganaram inukshuk (talk | contribs)
Line 20: Line 20:


=== See also ===
=== See also ===
* [[Template:Deprecated]]
* [[Template:Deprecated]], for pages whose material is no longer valid.
* [[Template:Deprecated parameters]], for template parameters whose use is no longer advised.
* [[:Category:Deprecated templates]]
* [[:Category:Deprecated templates]]
* [[:Category:Pages with deprecated templates]]
* [[:Category:Pages with deprecated templates]]

Revision as of 22:06, 11 November 2024

Whenever possible, this template should replace the deprecated template's content entirely, so that someone using the template will see only the message.

Usage

Use as follows:

{{Deprecated template|Old template|Template: New template|details=Further details.}}

to get:

Template: Old template is deprecated. Please use Template: New template instead. Further details.

The last two parameters are optional. This can be useful when the template was replaced by something other than a new template, like a category.

The parameter names can be omitted if they are used in the same order as specified above.

See also