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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
m (+ore and ablator parameters;)
Line 20: Line 20:
 
{{Parameter row|sf|Amount of solid fuel on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
 
{{Parameter row|sf|Amount of solid fuel on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
 
{{Parameter row|xg|Amount of xenon gas on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
 
{{Parameter row|xg|Amount of xenon gas on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
{{Parameter row|ia|Amount of intake air on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}}}
+
{{Parameter row|ia|Amount of intake air on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
 +
{{Parameter row|or|Amount of ore on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}
 +
{{Parameter row|ab|Amount of ablator on that part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}}}}
 
{{Parameter row|drag|Drag of the part}}
 
{{Parameter row|drag|Drag of the part}}
 
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|
 
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|

Revision as of 21:03, 3 May 2015

Name Optional Description Default
Parameters of {{Infobox/Part}}
name Yes Name of part. {{BASEPAGENAME}}
file Yes Filename to image of the part. File:Image needed.svg
size Yes Radial size of the part (uses {{Radial Size}}). Not set/Hidden
size2 Yes Second radial size of the part (uses {{Radial Size}}). Not set/Hidden
height Yes Height of the part in meters. Not set/Hidden
costs No Wet costs of the part, which is usually given in the part.cfg.
mass No Dry mass of the part, which is usually given in the part.cfg.
drag No Drag of the part
temp No Temperature resistance of the part
tolerance No Impact tolerance of the part
manufacturer Yes Manufacturer of the part. If set linked to the category of this name (see also Category:Manufacturers). Automatically uses {{Infobox/Part/Manufacturer}} and {{Infobox/Part/Manufacturer entry}} on it. Not set/Hidden
research Yes Research node required for this part. Not all subtemplates support this parameter yet. Unknown
research page Yes Article of the research node required for this part. Don't use link to technology tree, but instead redirect from the node if wished. Not all subtemplates support this parameter yet. The same as {{{research}}}
since Yes Version the part first appeared in. It will be used in {{version}}. Unknown
part No Name of the part folder. Used for link to cfg-entry in wiki. It will create a link to Parts/{{{parent}}}/{{{part}}}/part.cfg.
Creates a parameters table for the templates of {{Infobox/Part}}.

Parameters

Name Optional Description Default
additional Yes List additional parameters. Not set
more Yes Show {{{more}}}, {{{class}}} and {{{role}}} parameter. Either:
  • all to show all three
  • All other values to show only the more parameter
No
def size Yes Default size value. Not set
def parent Yes Default parent value. If set it will be shown. Not set
def mass Yes Default mass value. If set it will be shown. Not set

Additional parameters

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