FANDOM


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Description

This template is used to insert documentation on template pages.

Usage

On the Template page

This template is used without any parameters, placed at the bottom of the template or page being documented, within a <noinclude>...</noinclude> container:

<!--Last line of your template code--><noinclude>
{{Documentation}}
</noinclude>

Note that, depending on the template, you may need to add a clear or complete a table/div just before {{documentation}} is inserted (within the noinclude tags).

The line break is also useful as it helps prevent the documentation template "running into" previous code.

On the Template/doc page

== Description ==
This template is used to do something.

== Usage ==
Type <code>{{t|templatename}}</code> somewhere.

== Example(s) ==
<code>{{t|templatename}}</code>

results in...

{{t|templatename}}

== Dependencies ==<!-- delete if N/A -->
Uses (some CSS, JS, file, or other template).<!-- delete if N/A -->

== See also == <!-- delete if N/A -->
*[[Template:<!-- Some other template -->]]<!-- delete if N/A -->
*[[<!-- Some other related page -->]]<!-- delete if N/A -->

<includeonly>
<!-- Categories/interwikis for the template -->
</includeonly>
<noinclude>
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>
Community content is available under CC-BY-SA unless otherwise noted.