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
(readability)
(test)
Line 1: Line 1:
<nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}
+
<nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]
| {{pipe}} {{{2}}}{{#if:{{{3|}}}
+
{{#if:{{{2|}}} | {{pipe}} {{{2}}}
| {{pipe}} {{{3}}}{{#if:{{{4|}}}
+
{{#if:{{{3|}}} | {{pipe}} {{{3}}}
| {{pipe}} {{{4}}}{{#if:{{{5|}}}
+
{{#if:{{{4|}}} | {{pipe}} {{{4}}}
| {{pipe}} {{{5}}}{{#if:{{{6|}}}
+
{{#if:{{{5|}}} | {{pipe}} {{{5}}}
| {{pipe}} {{{6}}}}}}}}}}}}}}}<nowiki>}}</nowiki><noinclude>
+
{{#if:{{{6|}}} | {{pipe}} {{{6}}}
  +
}}}}}}}}}}}}<nowiki>}}</nowiki><noinclude>
 
{{/doc}}
 
{{/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 00:56, 1 May 2008

{{[[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}}}}