Difference between revisions of "Template:TemplateExample"
Jump to navigation
Jump to search
imported>Qazaaq m (fixing) |
imported>Qazaaq m (fixing) |
||
Line 1: | Line 1: | ||
Produces a template example. Note that the template must not be recursive. | Produces a template example. The first and only argument are the template's arguments used in the example. Use <tt><nowiki>{{!}}</nowiki></tt> instead of pipe characters (<tt>|</tt>) to separate the arguments. | ||
Note that the template must not be recursive. | |||
<includeonly><onlyinclude>; Example | <includeonly><onlyinclude>; Example | ||
: <pre><nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>:</nowiki>{{{1}}}<nowiki>}}</nowiki></pre> | : <pre><nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>:</nowiki>{{{1}}}<nowiki>}}</nowiki></pre> | ||
; Result | ; Result | ||
: {{{{FULLPAGENAME}} | : {{{{FULLPAGENAME}}|{{{1}}}}}</onlyinclude></includeonly> |
Revision as of 08:13, 26 February 2012
Produces a template example. The first and only argument are the template's arguments used in the example. Use {{!}} instead of pipe characters (|) to separate the arguments.
Note that the template must not be recursive.