From The Mana World
(new template for template doc) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{:Template:{{PAGENAME}}/doc}} <!-- this is to include documentation in this page, without transcluding it in the page where template is used --> | {{:Template:{{PAGENAME}}/doc}} <!-- this is to include documentation in this page, without transcluding it in the page where template is used --> | ||
Below is original template, please ignore. | |||
</noinclude> | </noinclude> | ||
[[File:50px-Template-info.png]] '''Template documentation:''' | [[File:50px-Template-info.png]] '''Template documentation:''' |
Revision as of 12:00, 4 August 2015
Description about when to use the template.
Usage:
Copy the following code into your template doc page and fill the values:
Copy the following code into your page:
-
{{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>
Below is original template, please ignore.
Description about when to use the template.
Usage:
{{{Usage}}}
Copy the following code into your page:
-
{{{{{Code}}} }}