Template:Tmpl: Difference between revisions
Content added Content deleted
(→Demonstration: Indent before, reduce indent for after. Use nowiki instead of pre.) |
(→Demonstration: Use Template:nwtag for noinclude syntax.) |
||
Line 3:
==Demonstration==
===Before===
:<nowiki>Whenever you create a template, be sure to place {{tmpl|template}} in a
===After===
:Whenever you create a template, be sure to place {{tmpl|template}} in a
{{template}}</noinclude>
|
Revision as of 16:07, 9 November 2010
This template provides shorthand for simultaneously linking to and demonstrating templates.
Demonstration
Before
- Whenever you create a template, be sure to place {{tmpl|template}} in a {{nwtag|noinclude}} section, so it's easily identified on the wiki, and so {{tmpl|template}} doesn't get transcluded into the page your template is used in.
After
- Whenever you create a template, be sure to place {{template}} in a <noinclude></noinclude> section, so it's easily identified on the wiki, and so {{template}} doesn't get transcluded into the page your template is used in.