Difference between revisions of "Template:Infobox/Part/Parameters"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!correct space;)
Line 1: Line 1:
<includeonly>{| class="wikitable mw-datatable"
+
<includeonly>{{Parameter Table|name=text|style=hover|parameters=
! Name
 
! Optional
 
! Description
 
 
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox||
 
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox||
 
{{{additional|}}}
 
{{{additional|}}}
Line 23: Line 20:
 
{{ParameterRow|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{ParameterRow|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{ParameterRow|part|Link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{part}}}/parts.cfg</nowiki></tt>.}}
 
{{ParameterRow|part|Link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{part}}}/parts.cfg</nowiki></tt>.}}
|}</includeonly><noinclude>Creates a parameters table for the templates of {{Tl|Partbox}}.
+
}}</includeonly><noinclude>Creates a parameters table for the templates of {{Tl|Partbox}}.
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable"
+
{{Parameter Table|name=text|parameters=
! Name
+
{{ParameterRow|additional|List additional parameters.|Not set}}
! Optional
+
{{ParameterRow|more|Allow <tt>{{{More}}}</tt> parameter.|No}}
! Description
+
}}
|-
 
| <tt>additional</tt>
 
| Yes
 
| List additional parameters. Default: Not set
 
|-
 
| <tt>more</tt>
 
| Yes
 
| Allow <tt>{{{More}}}</tt> parameter. Default: No
 
|}
 
  
 
== Additional parameters ==
 
== Additional parameters ==
 
To add additional parameters add a row for each parameter using {{Tl|ParameterRow}}.</noinclude>
 
To add additional parameters add a row for each parameter using {{Tl|ParameterRow}}.</noinclude>

Revision as of 18:28, 21 April 2013

Creates a parameters table for the templates of {{Partbox}}.

Parameters

Template:Parameter Table

Additional parameters

To add additional parameters add a row for each parameter using {{ParameterRow}}.