From The Mana World
(fix: unnecessary "spoiler")
(add: Description placeholder)
Line 2: Line 2:
[[File:50px-Template-info.png]] '''Template documentation:'''
[[File:50px-Template-info.png]] '''Template documentation:'''
   
   
Description about when to use the template.
{{{Description|Description about when to use the template.}}}
 
 
'''Usage:'''
'''Usage:'''<br />{{{Usage|Copy the following code into your page:}}}
{{{Usage}}}
 
Copy the following code into your page:
<dl style="display:inline-block; padding-left:.75em; margin-left:0;">
<dl style="display:inline-block; padding-left:.75em; margin-left:0;">
   <nowiki>{{</nowiki>{{{Code}}}<nowiki>}}</nowiki>
   <nowiki>{{</nowiki>{{{Code}}}<nowiki>}}</nowiki>

Revision as of 01:48, 13 October 2015


50px-Template-info.png Template documentation:

Use this template in order to create documentation for any template.


Usage:
Copy the following code into your template doc page and fill the values:

{{Documentation |Description = |Usage = |Code = TemplateName {{!}}arg1=arg1value {{!}}arg2= |Params = {{Parameter|arg1|Arg1 description}} {{Parameter|arg2|Arg2 description|Default = "Default value of arg2"}} |Translatable= No }}


Remember, also, categorize it under Category:Template documentation by adding this at the end:

<noinclude>[[Category:Template documentation]]</noinclude>