Difference between revisions of "Template:Template Documentation"

From FreewarWiki
Jump to: navigation, search
m
(syntax…)
Line 13: Line 13:
 
{{{3}}}
 
{{{3}}}
 
}}
 
}}
</div>
+
</div><noinclude>
<noinclude>
+
{{:{{FULLPAGENAME}}|
{{Heading Simulation 2|Documentation}}
+
This template is used for recording other templates. It show the reason for its usage and the integration syntax. If used it also records parameters.|
<div style="border-style:solid; padding:1ex; margin:1ex; border-color: #aaaaaa; border-width: 1px;">
+
This template will be integrated by using: '''<code>&lt;noinclude&gt;<nowiki>{{Template Documentation|"Usage"|"Integration"|"Parameters"}}</nowiki>&lt;/noinclude&gt;</code>'''. The parameter "parameters" is optional an can be hidden by using <code>none</code>.|
'''Usage'''<br />
 
This template is used for recording other templates. It show the reason for its usage and the integration syntax. If used it also records parameters.<br />
 
<br />
 
'''Integration'''<br />
 
This template will be integrated by using: '''<code>&lt;noinclude&gt;<nowiki>{{Template Documentation|"Usage"|"Integration"|"Parameters"}}</nowiki>&lt;/noinclude&gt;</code>'''. The parameter "parameters" is optional an can be hidden by using <code>none</code>.
 
<br />
 
<br />
 
'''Parameters'''<br />
 
 
* '''Usage:''' Integrates the reason for application
 
* '''Usage:''' Integrates the reason for application
 
* '''Integration:''' Shows text for possible integration options
 
* '''Integration:''' Shows text for possible integration options
 
* '''Parameters:''' Gives documentation for parameters ''(optional)''
 
* '''Parameters:''' Gives documentation for parameters ''(optional)''
</div>
+
}}
 
</noinclude>
 
</noinclude>

Revision as of 20:57, 15 February 2010

Documentation

Usage
{{{1}}}

Integration
{{{2}}}

Documentation

Usage

This template is used for recording other templates. It show the reason for its usage and the integration syntax. If used it also records parameters.

Integration

This template will be integrated by using: <noinclude>{{Template Documentation|"Usage"|"Integration"|"Parameters"}}</noinclude>. The parameter "parameters" is optional an can be hidden by using none.

Parameters

  • Usage: Integrates the reason for application
  • Integration: Shows text for possible integration options
  • Parameters: Gives documentation for parameters (optional)