Template:Deprecated template/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 2: | Line 2: | ||
Whenever possible, this template should replace the deprecated template's content entirely, so that someone using the template will see only the message. | Whenever possible, this template should replace the deprecated template's content entirely, so that someone using the template will see only the message. | ||
== Usage == | === Usage === | ||
Use as follows: | Use as follows: | ||
: <code | : <code>{{((}}Deprecated template{{pipe}}Old template{{pipe}}Template: New template{{pipe}}details=Further details.{{))}}</code> | ||
to get: | to get: | ||
Revision as of 03:41, 16 July 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.