Template:Deprecated template

From Xenharmonic Wiki
Revision as of 02:27, 2 March 2022 by Fredg999 (talk | contribs) (Fix noinclude range)
Jump to navigation Jump to search

The {{Deprecated template}} template notifies users that a given template has been replaced by a different one or ones, or simply deprecated (advised to no longer be used) without a replacement. Whenever possible, it 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=Deprecated template|new=New template|details=Further details.}}

as to get:

Template:Deprecated 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