Difference between revisions of "Template:Documentation"

From The Infosphere, the Futurama Wiki
Jump to: navigation, search
(Created this for documentating templates.)
 
m (Change.)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="border: 1px solid #339933; background: #77cc88; padding: 5px;">
+
{{clear}}
 +
<div class="template-documentation">
 
__NOTOC__
 
__NOTOC__
==Documentation for {{PAGENAME}}==
+
<div class="fake-h2"><span style="float:right; font-size: 0.6em;"></span>Documentation for &#x007B;&#x007B;{{#if:{{{1|}}}|[[Template:{{{1}}}|{{lcfirst:{{{1}}}}}]]|{{lcfirst:{{PAGENAME}}}}}}&#x007D;&#x007D;</div>
{{documentation/{{PAGENAME}}}}
+
<div class="documentation-content">
 +
{{{{{1|{{PAGENAME}}}}}/doc}}
 +
</div>
 +
{{clear}}
 
</div>
 
</div>

Latest revision as of 19:40, 17 March 2009

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===