Template:Deprecated/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Deprecated (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
- This template will categorize into
Category:Deprecated templates.
⧼usage⧽
To mark templates that are deprecated. It should go at the very beginning of the deprecated template's code inside of <noinclude> tags.
When a template is replaced by a different one (or two), simply enter the template's name as the 1st parameter without the Template: prefix (the 2nd parameter can be used for a second template).
Examples
{{deprecated|template}} →
This template is deprecated. Please use {{template}} instead. |
{{deprecated|template|2nd template}} →
This template is deprecated. Please use {{template}} or {{2nd template}} instead. |
{{deprecated|template|p=parameter}} →
This template is deprecated. Please use {{template|parameter}} instead. |
{{deprecated|note=Customized note.}} →
This template is deprecated. Customized note. |
{{deprecated|template|p=<nowiki>a=b|c=d</nowiki>|2nd template|2p=e|note=Customized note.}} →
This template is deprecated. Please use {{template|a=b|c=d}} or {{2nd template|e}} instead. Customized note. |