Template:Deprecated/doc: Difference between revisions
Template page
More actions
update |
|||
| Line 27: | Line 27: | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Internationalised marker templates|{{PAGENAME}}]] | ||
[[Category:Template namespace templates|{{PAGENAME}}]] | [[Category:Template namespace templates|{{PAGENAME}}]] | ||
Revision as of 20:36, 16 June 2011
⧼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}} →
{{deprecated|template|2nd template}} →
{{deprecated|template|p=parameter}} →
{{deprecated|note=Customized note.}} →
{{deprecated|template|p=<nowiki>a=b|c=d</nowiki>|2nd template|2p=e|note=Customized note.}} →