FANDOM


(tlx to t)
(add cleanup tag)
 
Line 1: Line 1:
  +
{{Cleanup|This template is way too complicated without comments to show where ifs and switches start and end.}}
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
 
;Description
 
;Description

Latest revision as of 18:29, July 13, 2018

[[File:Broom|80px]]
This template is in need of a clean-up. You can help out Templates Wiki by re-organizing parts of the article, checking grammar and spelling, and doing other helpful things to correct the article.
  • Reason: This template is way too complicated without comments to show where ifs and switches start and end.
Description
This template is used to insert descriptions on template pages.
Usage
Type {{documentation}} at the end of the template page.

On the Template pageEdit

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 pageEdit

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

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

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