Difference between revisions of "Template:Documentation"
Jump to navigation
Jump to search
m (Trying to avoid getting this included in TOC or as editable part.) |
m (Hax!) |
||
Line 2: | Line 2: | ||
<div class="template-documentation"> | <div class="template-documentation"> | ||
__NOTOC__ | __NOTOC__ | ||
<h2>Documentation for {{{{lcfirst:{{{1|{{PAGENAME}}}}}}}}}</ | <dic class="fake-h2">Documentation for {{{{lcfirst:{{{1|{{PAGENAME}}}}}}}}}</div> | ||
{{documentation/{{{1|{{PAGENAME}}}}}}} | {{documentation/{{{1|{{PAGENAME}}}}}}} | ||
{{clear}} | {{clear}} | ||
</div> | </div> |
Revision as of 02:44, 12 April 2008
<dic class="fake-h2">Documentation for {{documentation}}
Use
Add this to any template to provide a documentation for it. It will provide you with a link where you can write the documentation. A documentation could have the following sections, in this order, apply where applicable:
- Use
- Describe the use of this template.
- Usage
- Describe how to use it.
- Example
- Give an example of its use.
- See also
- For similar templates.
Usage
- Including the template.
<noinclude>{{documentation}}</noinclude>
- Include the template in an article or page, which require documentation that is not itself. This first parameter is of course optional.
{{documentation|template-name}}
- Sectioning its documentation
===Use=== ===Usage=== ===Example=== ===See also===