Template:Deprecated
Jump to navigation
Jump to search
This template is deprecated. It should not be used anywhere except sandboxes.
This template is used to notify the user that a template or module only kept for historical usage is no longer preferred to use, and may provide an alternative.
The {{{nolink}}} parameter should be used with the {{{new}}} parameter to not automatically make a link.
Usage
[edit source]{{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 Deprecated templates or Deprecated modules categories.
Examples
[edit source]| Template code | Generates |
|---|---|
Normal usage:{{Deprecated}} |
This template is deprecated. It should not be used anywhere except sandboxes.
|
Using 1 parameter:{{Deprecated|Outdent}} |
This template is deprecated. It should not be used anywhere except sandboxes.
Please use
{{Outdent}} instead. |
Using new parameter:{{Deprecated|new=MCW:Admin noticeboard#Protection requests}} |
This template is deprecated. It should not be used anywhere except sandboxes.
Please use MCW:Admin noticeboard instead.
|
Historical usage:{{Deprecated|historical=1}} |
This template is deprecated, but kept due to historical usage. It should not be used anywhere except sandboxes.
|
Additional note:{{Deprecated|note=Used in old versions of mod pages.}} |
This template is deprecated. It should not be used anywhere except sandboxes.
Used in old versions of mod pages.
|
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Deprecated/doc.