FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Documentation/doc to edit this documentation. (How does this work?)

Description

This template is used to insert descriptions on template pages.

Usage

Type {{documentation}} at the end of the template page.

On the Template page

This is the normal format when used:

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

Note that, depending on the template, you may need to add a table/div just before <includeonly>… is inserted. The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page

Normally, you will want to write something like the following on the documentation page:

==Description==
This template is used to do something.
==Usage==
Type <code>{{documentation|parameter}}</code> somewhere.
==Example==
<code><nowiki>{{templatename|parameter}}</nowiki></code> 

results in...

{{templatename|parameter}}

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


You may also want to add "see also" or other sections.
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+