More actions
m Update doc. |
m Fix typo. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Tocright}}; Description | {{Tocright}} | ||
; Description | |||
: This template is used to insert documentation on template pages. | : This template is used to insert documentation on template pages. | ||
| Line 11: | Line 12: | ||
== General usage == | == General usage == | ||
=== On the Template page === | === On the Template page === | ||
You should attach <code><nowiki><noinclude>{{ | You should attach <code><nowiki><noinclude>{{Documentation}}</noinclude></nowiki></code> to the end of the template page, so it looks like the below: | ||
<pre> | <pre> | ||
TEMPLATE CODE HERE | TEMPLATE CODE HERE | ||
| Line 40: | Line 41: | ||
; Syntax | ; Syntax | ||
: {{T|Templatename|param|...}} | : {{T|Templatename|param|...}} | ||
:; Parameters | |||
; Parameters | ::; param | ||
:; param | ::: Param description | ||
::; param | |||
:; param | ::: Param description | ||
OR | OR | ||
:; param : Param description | ::; param : Param description | ||
:; param : Param description | ::; param : Param description | ||
Repeat as needed ... | Repeat as needed ... | ||