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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+manufacturer is processed now;)
m (+def size parameter;)
Line 9: Line 9:
 
{{ParameterRow|class|The Part module the part uses|Unknown}}}}
 
{{ParameterRow|class|The Part module the part uses|Unknown}}}}
 
{{ParameterRow|file|Filename to image of the part.|[[:File:Image-needed.png]]}}
 
{{ParameterRow|file|Filename to image of the part.|[[:File:Image-needed.png]]}}
{{ParameterRow|size|Radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden}}
+
{{ParameterRow|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{{def size|Not set/Hidden}}}}}
 
{{ParameterRow|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}}
 
{{ParameterRow|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}}
 
{{ParameterRow|costs|Costs of the part}}
 
{{ParameterRow|costs|Costs of the part}}
Line 27: Line 27:
 
{{ParameterRow|additional|List additional parameters.|Not set}}
 
{{ParameterRow|additional|List additional parameters.|Not set}}
 
{{ParameterRow|more|Allow <tt>{{{More}}}</tt> parameter.|No}}
 
{{ParameterRow|more|Allow <tt>{{{More}}}</tt> parameter.|No}}
 +
{{ParameterRow|def size|Default size value.|<tt>Not set</tt>}}
 
}}
 
}}
  
 
== 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 22:03, 17 June 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}}.