Template:Template

From GuildWiki
Revision as of 11:22, 17 July 2011 by Mauirixxx (talk | contribs) (Rolled back edits by 91.212.204.144 (talk) to last version by Mendel)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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