Difference between revisions of "Template:TemplateExample"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (fixing)
imported>Qazaaq
(can't get this to work)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
{{Incomplete}}
 
Produces a template example. The first and only argument are the template's arguments used in the example. Use <tt><nowiki>{{subst:!}}</nowiki></tt> instead of pipe characters (<tt>|</tt>) to separate the arguments.


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>
: <code>{{((}}{{FULLPAGENAME}}<nowiki>|</nowiki>{{{1}}}<nowiki>}}</nowiki></code>


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

Latest revision as of 10:32, 26 February 2012

200px Alert image.png TAKE NOTICE!

This article has been flagged as incomplete or inaccurate. Take any information here with a grain of salt.

Help out! If you have the knowledge needed, please edit this article so we can remove the Incomplete flag.


Produces a template example. The first and only argument are the template's arguments used in the example. Use {{subst:!}} instead of pipe characters (|) to separate the arguments.

Note that the template must not be recursive.