GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
No edit summary
m (Rolled back edits by 91.212.204.144 (talk) to last version by Mendel)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{1|}}}
+
'''<nowiki>{{</nowiki>'''[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}
|{{pipe}}{{{1}}}{{#if:{{{2|}}}
+
| {{!}} {{{2}}} {{#if:{{{3|}}}
|{{pipe}}{{{2}}}{{#if:{{{3|}}}
+
| {{!}} {{{3}}} {{#if:{{{4|}}}
|{{pipe}}{{{3}}}{{#if:{{{4|}}}
+
| {{!}} {{{4}}} {{#if:{{{5|}}}
|{{pipe}}{{{4}}}{{#if:{{{5|}}}
+
| {{!}} {{{5}}} {{#if:{{{6|}}}
  +
| {{!}} {{{6}}} {{#if:{{{7|}}}
|{{pipe}}{{{5}}}}}}}}}}}}}<nowiki>}}</nowiki><noinclude>
 
  +
| {{!}} {{{7}}} {{#if:{{{8|}}}
{{/doc}}
 
  +
| {{!}} {{{8}}}
 
}}}}}}}}}}}}}}'''<nowiki>}}</nowiki>'''<noinclude>
  +
{{/doc}} [[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:22, 17 July 2011

{{[[Template:{{{1}}}|{{{1}}}]]}}

Documentation

Purpose

To easily display the usage of a template, especially those using parameters.

{{Template|template name}}
displays a template call with no parameters, with the template name linked to the template
{{Template|template name|Parameter 1|...|Parameter 8}}
displays a template call with 1 to 8 unnamed parameters
{{Template|template name|1=Parameter 1|...|8=Parameter 8}}
displays a template call with 1 to 8 named or unnamed parameters
{{Template|template name|1=Parameter 1{{!}}Parameter2{{!}}...}}</nowiki>
displays a template call with an arbitrary number of parameters


Examples

Wikicode Display
{{Template|last update}}
{{last update}}
{{Template|Delete|reason|signature}}
{{Delete| reason | signature}}