This template is used to insert documentation on template pages.


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>

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

results in...


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

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