Difference between revisions of "Template:Doc"

From Cantr II Wiki
Jump to: navigation, search
Line 4: Line 4:
 
{{{{PAGENAME}}/doc}}
 
{{{{PAGENAME}}/doc}}
 
</td></tr></table>
 
</td></tr></table>
<noinclude>[[Category:Meta-Plantillas|{{PAGENAME}}]]
+
<noinclude>[[Category:Meta-Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 04:58, 22 February 2010

Template documentation[edit]

{{Doc}} provides an easy way to add documentation for a template.

Usage

Put {{Doc}} at the end of the template, enclosed between tags noinclude. Without spaces or line breaks before.

To function properly there must be a page called x/doc. Replacing "x" by the full name of the template. For example, the name of this template is Doc, but the full name of this template is Template:Doc. Therefore, the documentation of this template should be on the page Template:Doc/doc.

See also