Template:Tmpl: Difference between revisions

Add span for class.
(Ok, that should do it.)
(Add span for class.)
 
(3 intermediate revisions by the same user not shown)
Line 1:
<includeonly><span class=wikicode>[[Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki>]]</span></includeonly><noinclude>This template provides shorthand for simultaneously linking to and demonstrating templates.
 
==Demonstration==
===Before===
 
:<prenowiki>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.</prenowiki>
===After===
 
::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.
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.
 
{{template}}</noinclude>