Template documentation (for the above template, sometimes hidden or invisible)
This template is used to insert documentation on template pages.
Type at the end of the template page.

Use any or all of the description/syntax/sample output sections below. You may also want to add "see also" or further usage information sections. Note that the example below also uses {{tl}}.

General usage

On the Template page

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

On the Template/doc page

:This template is used to do something.
:Type <code>{{tl|templatename}}</code> somewhere.
;Sample output
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...

<includeonly>Any categories for the template itself</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
Visit Template:Documentation/doc to edit this text! (How does this work?)
Done editing it? Refresh this page! (Why?)
Community content is available under CC-BY-SA unless otherwise noted.