Description[edit source]

This template is used to insert descriptions on template pages.

Usage[edit source]

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

On the Template page[edit source]

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 clear or complete 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[edit source]

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

{| class="wikitable"
|+ Examples
|-
!Code
!Result
|-
|<code>{{tlx|templatename|parameter}}</code>
|{{templatename|parameter}}
|-
|}

<includeonly>Any categories for the template itself</includeonly>
Community content is available under CC-BY-SA unless otherwise noted.