[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template is used to notify the user that a template only kept for historical usage is no longer preferred to use, and may provide an alternative.
Usage
{{Deprecated|new|historical=historical|note=notes|nocat=Category suppressor}}
- The
|1=
parameter is the name of the replacement template or other page. - The
|historical=
parameter adds an extra note at the title explaining that it is only kept due to historical usages. - The
|note=
parameter can be used to add a reason why the template is kept or notes on how to replace the template. - The
|nocat=
parameter prevents the page from being added into the Category:Deprecated templates.
Examples
Template code | Generates |
---|---|
Normal usage:{{Deprecated}} |
|
Using 1 parameter:{{Deprecated|Outdent}} |
This template is deprecated.
Please use
{{Outdent}} instead. |
Using new parameter:{{Deprecated|new=MCW:Admin noticeboard#Protection requests}} |
This template is deprecated.
Please use MCW:Admin noticeboard#Protection requests instead.
|
Historical usage:{{Deprecated|historical=1}} |
|
Additional note:{{Deprecated|note=Used in old versions of mod pages.}} |