FANDOM


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to insert documentation on template pages.
Syntax
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>
{{documentation}}</noinclude>

On the Template/doc page

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

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