Difference between revisions of "Template:TemplateExample"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (fixing)
imported>Qazaaq
m (i like caches)
Line 3: Line 3:
Note that the template must not be recursive.
Note that the template must not be recursive.


<includeonly><onlyinclude>; Example {{((}}
<includeonly><onlyinclude>; Example
: <tt>{{((}}{{FULLPAGENAME}}<nowiki>|</nowiki>{{subst:{{{1}}}}}<nowiki>}}</nowiki></tt>
: <tt>{{((}}{{FULLPAGENAME}}<nowiki>|</nowiki>{{{1}}}<nowiki>}}</nowiki></tt>


; Result
; Result
: {{{{FULLPAGENAME}}|{{{1}}}}}</onlyinclude></includeonly>
: {{{{FULLPAGENAME}}|{{{1}}}}}</onlyinclude></includeonly>

Revision as of 08:47, 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.