Template:Deprecated template/doc: Difference between revisions
there seems to be a problem in the code |
update |
||
| 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. | 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. | ||