Difference between revisions of "Template:Documentation/doc"
Jump to navigation
Jump to search
m (→Usage: Smerk.) |
m (→Usage: <>) |
||
Line 11: | Line 11: | ||
===Usage=== | ===Usage=== | ||
;Including the template. | ;Including the template. | ||
<pre> | :<pre><includeonly>{{documentation}}</includeonly></pre> | ||
;Sectioning its documentation | ;Sectioning its documentation | ||
<pre>===Use=== | :<pre>===Use=== | ||
===Usage=== | ===Usage=== | ||
===Example===</pre> | ===Example===</pre> |
Revision as of 18:08, 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.
<includeonly>{{documentation}}</includeonly>
- Sectioning its documentation
===Use===
===Usage=== ===Example===