Template:How to use: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
| colspan="2" style="padding: 0.4em 0.6em;" | | | colspan="2" style="padding: 0.4em 0.6em;" | | ||
<code><nowiki> | <code><nowiki> | ||
{{{subst:How to | {{{subst:How to use}}} | ||
</nowiki></code> | </nowiki></code> | ||
|} | |} | ||
Line 13: | Line 13: | ||
== Introducing How to Use: == | == Introducing How to Use: == | ||
In order to document the use case of a template, this template has been designed to show the code necessary to use it. | In order to document the use case of a template, this template has been designed to show the code necessary to use it. | ||
Copy the highlighted code in the infobox, and paste it on any Template page you need. Remember to change out " | Copy the highlighted code in the infobox, and paste it on any Template page you need. Remember to change out "Template Name" with the template of your choice, otherwise the code will be wrong. | ||
Click "Save changes", then open the editor again. The code for this template should now be included in your source, allowing you to change the " | Click "Save changes", then open the editor again. The code for this template should now be included in your source, allowing you to change the "Template Name" for whichever template you wish to include this showcase on. | ||
<b>Note:</b> This is case sensitive. Make sure you write the template name exactly as it is. | <b>Note:</b> This is case sensitive. Make sure you write the template name exactly as it is. |