Difference between revisions of "Template:Infobox/Part/Parameters"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!type, notes, nref are all optional;) |
m (+height;) |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
! colspan="3" {{!}} Parameters of {{Tl|Infobox/Part}}}} | ! colspan="3" {{!}} Parameters of {{Tl|Infobox/Part}}}} | ||
− | {{Parameter Row|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}} | + | {{Parameter Row|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}}{{if||{{#ifeq: {{{more|}}}|all|1}}{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|1}}| |
− | {{ | ||
{{Parameter Row|role|Role of the part. Overrides the type parameter.}}}} | {{Parameter Row|role|Role of the part. Overrides the type parameter.}}}} | ||
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
Line 12: | Line 11: | ||
{{Parameter Row|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{#if: {{{def size|}}}|<tt>{{{def size}}}</tt> ({{Radial Size|{{{def size}}}}})|Not set/Hidden}}}} | {{Parameter Row|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{#if: {{{def size|}}}|<tt>{{{def size}}}</tt> ({{Radial Size|{{{def size}}}}})|Not set/Hidden}}}} | ||
{{Parameter Row|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}} | {{Parameter Row|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}} | ||
+ | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||{{Parameter Row|height|Height of the part in meters.|Not set/Hidden}}}} | ||
{{Parameter Row|costs|Costs of the part}} | {{Parameter Row|costs|Costs of the part}} | ||
{{Parameter Row|mass|Dry mass of the part, which is usually given in the part.cfg.|{{{def mass|}}}}} | {{Parameter Row|mass|Dry mass of the part, which is usually given in the part.cfg.|{{{def mass|}}}}} |
Revision as of 07:59, 16 April 2014
Template:Parameter TableCreates a parameters table for the templates of {{Infobox/Part}}.
Parameters
Additional parameters
To add additional parameters add a row for each parameter using {{Parameter Row}}.