Difference between revisions of "Template:Documentation/doc"
Jump to navigation
Jump to search
m (→Usage: Hm, that screwed it up.) |
m (→Usage: noinclude! :|) |
||
Line 11: | Line 11: | ||
===Usage=== | ===Usage=== | ||
;Including the template. | ;Including the template. | ||
:<pre>< | :<pre><noinclude>{{documentation}}</noinclude></pre> | ||
;Sectioning its documentation | ;Sectioning its documentation | ||
<pre>===Use=== | <pre>===Use=== |
Revision as of 18:31, 11 April 2008
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.
Usage
- Including the template.
<noinclude>{{documentation}}</noinclude>
- Sectioning its documentation
===Use=== ===Usage=== ===Example===