FANDOM


40px-Edit-copy_green.svg.png This is a documentation subpage for Template:Documentation.
It contains usage information, categories and other content that is not part of the original template page.

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|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

{{Documentation subpage}}
What this template is meant to do

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

==Sample output==
<pre>{{templatename|foo}}</pre>
{{templatename|foo}}

<includeonly>Any categories for the template itself</includeonly>

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.

Community content is available under CC-BY-SA unless otherwise noted.