Template:Tmpl: Difference between revisions

Add span for class.
(→‎Demonstration: Indent before, reduce indent for after. Use nowiki instead of pre.)
(Add span for class.)
 
(One intermediate revision 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===
:<nowiki>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.</nowiki>
===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.
 
{{template}}</noinclude>