Template:Tmpl: Difference between revisions
Content added Content deleted
(Ok, that should do it.) |
(→Demonstration: Before and after.) |
||
Line 2: | Line 2: | ||
==Demonstration== |
==Demonstration== |
||
===Before=== |
|||
<pre>Whenever you create a template, be sure to place {{tmpl|template}} in a '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.</pre> |
<pre>Whenever you create a template, be sure to place {{tmpl|template}} in a '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.</pre> |
||
===After=== |
|||
Becomes: |
|||
::Whenever you create a template, be sure to place {{tmpl|template}} in a '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. |
::Whenever you create a template, be sure to place {{tmpl|template}} in a '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. |
||
Revision as of 15:03, 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 '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' section, so it's easily identified on the wiki, and so {{template}} doesn't get transcluded into the page your template is used in.