The One Wiki to Rule Them All
The One Wiki to Rule Them All
Template documentation (for the above template, sometimes hidden or invisible)

This template is used to insert descriptions on template pages.

Syntax

Type <noinclude>{{documentation}}</noinclude> at the end of the template page.

Under special cases when the documentation for a template is not located at Template:pagename/doc (such as with Navbox, which is used in other templates and automatically inserts Template:Navbox/doc onto any template that uses a navbox), you can tell it to display a different page by giving it a parameter such as:

<noinclude>{{Documentation|Template:Navbox/doc}}</noinclude> at the end of the template page.

General usage

On the Template page

Template code
<includeonly>Any categories to be inserted into articles by the template</includeonly>
<noinclude>{{documentation}}</noinclude>

On the Template/doc page

What this template is meant to do

==Syntax==
{{templatename
|field1 = 
|field2 = 
}}

==Example==
<pre>{{templatename|foo}}</pre>
{{templatename|foo}}

<includeonly>Any categories for the template itself</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or further usage information sections.

Note that the above example also uses Template:T.


Visit Template:Documentation/doc to edit this text! (How does this work?)