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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+def size parameter;)
m (*advanced default value;)
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}}).|{{{def size|Not set/Hidden}}}}}
+
{{ParameterRow|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{#if: {{{def size|}}}|<tt>{{{def size}}}</tt> ({{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}}

Revision as of 22:08, 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}}.