Template:Template

From LCARS
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}}