Jump to content

Template:Documentation/doc: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
document
 
m fix tag
Line 11: Line 11:
That's it!
That's it!


<includeonly>[[Category:Mises Wiki templates]]</noinclude>
<includeonly>[[Category:Mises Wiki templates]]</includeonly>

Revision as of 20:08, 23 December 2010

This template should be used on each template page to describe the function of the template. To use it, follow these steps:

  • Add {{documentation}} to any template page.
  • This will generate a red link to a subpage of the template: if your template is Template:Example, the documentation link will be Template:Example/doc. Click this link.
  • Enter key information about Template:Example. You might include:
    • What the template does
    • What parameters the template requires, if any
    • What parameters the template allows, if any
    • A few examples
  • Add an appropriate category. When doing so, surround the category in <includeonly> tags; for example:
    <includeonly>[[Category:Example]]</noinclude>

That's it!