Difference between revisions of "Template:Template Documentation"

From FreewarWiki
Jump to: navigation, search
m (Protected "Template:Template Documentation" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(3 intermediate revisions by 2 users not shown)
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 application and the incorporation syntax. If used it also records parameters.<br />
 
<br />
 
'''Incorporation'''<br />
 
This template will be incorporated by using: '''<code>&lt;noinclude&gt;<nowiki>{{Template Documentation|"Application"|"Incorporation"|"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>

Latest revision as of 08:40, 12 October 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)