Template:Infobox/Part/Parameters

From Kerbal Space Program Wiki
Jump to: navigation, search
Name Optional Description
Parameters of {{Infobox/Part}}
name ✓ Yes Name of the part, which can be found in the localization file. Uses {{Dict/part name}} to translate names. Default: {{BASEPAGENAME}}
file ✓ Yes Filename to image of the part. Default: File:Image needed.svg
size ✓ Yes Radial size of the part (uses {{Radial Size}}). Default: Not set/Hidden
size2 ✓ Yes Second radial size of the part (uses {{Radial Size}}). Default: Not set/Hidden
size3 ✓ Yes Third radial size of the part (uses {{Radial Size}}). Default: Not set/Hidden
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. Default: Not set/Hidden
costs × No Cost of the part, which is usually given in the part.cfg.
mass × No Mass of the part, which is usually given in the part.cfg.
drag × No Drag of the part. By different values, add minimum_drag first and then maximum_drag
temp × No Temperature resistance of the part, which is usually given in the part.cfg.
tolerance × No Impact tolerance of the part, which is usually given in the part.cfg.
research ✓ Yes Research node required for this part. Uses {{Dict/sci node}} to translate names. Default: Unknown
unlock cost × No Cost to unlock the part, which is usually given in the part.cfg.
since ✓ Yes Version the part first appeared in. It will be used in {{version}}. Default: Unknown
filename × No The filename (with extension) of the part.cfg
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
additional ✓ Yes List additional parameters. Default: 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 Default: No
def size ✓ Yes Default size value. Default: Not set
def parent ✓ Yes Default parent value. If set it will be shown. Default: Not set
def mass ✓ Yes Default mass value. If set it will be shown. Default: Not set

Additional parameters

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