Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation/doc: Difference between revisions

Template page
m Fix typo. To let the ; tag work as intended it needs to be at first position of the line.
m Fix typo.
 
Line 12: Line 12:
== General usage ==
== General usage ==
=== On the Template page ===
=== On the Template page ===
You should attach <code><nowiki><noinclude>{{T|Documentation}}</noinclude></nowiki></code> to the end of the template page, so it looks like the below:
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 41: Line 41:
; Syntax
; Syntax
: {{T|Templatename|param|...}}
: {{T|Templatename|param|...}}
 
:; Parameters
; Parameters
::; param
:; param
::: Param description
;; Param description
::; param
:; param
::: Param description
;; Param description
OR
OR
:; param : Param description
::; param : Param description
:; param : Param description
::; param : Param description


Repeat as needed ...
Repeat as needed ...