Template:Deprecated template/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Overthink (talk | contribs)
update
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
Use as follows:
Use as follows:


<pre>{{Deprecated template|Old template|Template: New template|details=Further details.}}</pre>
<pre>{{Deprecated template|Template: Old template|Template: New template|details=Further details.}}</pre>


to get:
to get:


{{Deprecated template|Old template|Template: New template|details=Further details.}}
{{Deprecated template|Template: Old template|Template: New template|details=Further details.}}
 
Note: The <code><nowiki><includeonly></nowiki></code> and <code><nowiki></includeonly></nowiki></code> tags are needed for the template to work properly on both the template page and pages where the deprecated template is transcluded.


The last two parameters are optional. This can be useful when the template was replaced by something other than a new template, like a category.
The last two parameters are optional. This can be useful when the template was replaced by something other than a new template, like a category.