Template:MC/Deprecated/doc
Template page
More actions
Template:Documentation header 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 Template:Param parameter should be used with the Template:Param parameter to not automatically make a link.
Usage
{{Deprecated|new|historical=historical|note=notes|nocat=Category suppressor}}
- The Template:P parameter is the name of the replacement template or other page.
- The Template:P parameter adds an extra note at the title explaining that it is only kept due to historical usages.
- The Template:P parameter can be used to add a reason why the template is kept or notes on how to replace the template.
- The Template:P parameter prevents the page from being added into the Deprecated templates or Deprecated modules categories.
Examples
| Template code | Generates |
|---|---|
| Normal usage: {{Deprecated}} |
Template:Deprecated |
| Using Template:Cd parameter: {{Deprecated|Outdent}} |
Template:Deprecated |
| Using Template:Cd parameter: {{Deprecated|new=MCW:Admin noticeboard#Protection requests}} |
Template:Deprecated |
| Historical usage: {{Deprecated|historical=1}} |
Template:Deprecated |
| Additional note: {{Deprecated|note=Used in old versions of mod pages.}} |
Template:Deprecated |
cs:Šablona:Deprecated/doc fr:Modèle:Obsolète/doc it:Template:Deprecato/doc ja:テンプレート:Deprecated/doc ko:틀:Deprecated/doc lzh:模板:Deprecated/doc pt:Predefinição:Predefinição obsoleta/doc ru:Шаблон:Deprecated/док th:แม่แบบ:Deprecated/doc uk:Шаблон:Старе/док zh:模板:Deprecated/doc