From The Mana World
Nelson6e65 (talk | contribs) m (fix: blank space after code) |
Nelson6e65 (talk | contribs) (fix: Template documentation category transcuded in main template content) |
||
Line 19: | Line 19: | ||
<nowiki>{{</nowiki>{{{Code}}}<nowiki>}}</nowiki> | <nowiki>{{</nowiki>{{{Code}}}<nowiki>}}</nowiki> | ||
</dl> | </dl> | ||
<noinclude> | <noinclude> | ||
</spoiler> | </spoiler> | ||
[[Category:General Template]] <!-- this is to categorize the template. It will not be transcluded in the page where template is used --> | [[Category:General Template]] <!-- this is to categorize the template. It will not be transcluded in the page where template is used --> | ||
</noinclude> | </noinclude> |
Revision as of 01:26, 13 October 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.
<spoiler>
Description about when to use the template.
Usage:
{{{Usage}}}
Copy the following code into your page:
-
{{{{{Code}}}}}
</spoiler>