Difference between revisions of "Template:Infobox/Part/Parameters"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (Add extra parameters) |
m (fix typos) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
{{Parameter row|mass|Mass of the part, which is usually given in the part configuration.}} | {{Parameter row|mass|Mass of the part, which is usually given in the part configuration.}} | ||
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{Parameter row|lf| | + | {{Parameter row|lf|Max amount of Liquid Fuel on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ox| | + | {{Parameter row|ox|Max amount of Oxidizer on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|sf| | + | {{Parameter row|sf|Max amount of Solid Fuel on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|mp| | + | {{Parameter row|mp|Max amount of Monopropellant on the part in units. Only used wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|xg| | + | {{Parameter row|xg|Max amount of Xenon Gas on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ia| | + | {{Parameter row|ia|Max amount of Intake Air on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|eva| | + | {{Parameter row|eva|Max amount of EVA Propellant on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|or| | + | {{Parameter row|or|Max amount of Ore on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ab| | + | {{Parameter row|ab|Max amount of Ablator on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
{{Parameter row|capacity|Total amount of crew capacity on the part. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} | {{Parameter row|capacity|Total amount of crew capacity on the part. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} | ||
{{Parameter row|crew|Amount of crew the part starts with. Only used for wet/dry mass calculation.|<tt>0</tt>}} | {{Parameter row|crew|Amount of crew the part starts with. Only used for wet/dry mass calculation.|<tt>0</tt>}} | ||
Line 33: | Line 33: | ||
{{Parameter row|motorMass|The extra mass the motor adds to the part. Only used for wet mass calculation.|<tt>0</tt>}} | {{Parameter row|motorMass|The extra mass the motor adds to the part. Only used for wet mass calculation.|<tt>0</tt>}} | ||
{{Parameter row|maxShots|Maximum amount of firework shots on the part. Only used for wet mass calculation.|<tt>0</tt>}} | {{Parameter row|maxShots|Maximum amount of firework shots on the part. Only used for wet mass calculation.|<tt>0</tt>}} | ||
− | {{Parameter row|shellMass|The extra mass every firework shell adds to the part. Only used for wet/dry mass calculation.|<tt>0</tt>}}}} | + | {{Parameter row|shellMass|The extra mass every firework shell adds to the part. Only used for wet/dry mass calculation.|<tt>0</tt>}} |
+ | {{Parameter row|variantCost|The extra cost the default variant adds to the part. Only used for wet costs calculation.|<tt>0</tt>}} | ||
+ | {{Parameter row|variantMass|The extra mass the default variant adds to the part. Only used for wet mass calculation.|<tt>0</tt>}}}} | ||
{{Parameter row|drag|Drag of the part. By different values, add <tt>minimum_drag</tt> first and then <tt>maximum_drag</tt>}} | {{Parameter row|drag|Drag of the part. By different values, add <tt>minimum_drag</tt> first and then <tt>maximum_drag</tt>}} | ||
{{Parameter row|temp|Temperature resistance of the part, which is usually given in the part configuration.}} | {{Parameter row|temp|Temperature resistance of the part, which is usually given in the part configuration.}} | ||
Line 44: | Line 46: | ||
* <tt>bg</tt> (Breaking Ground)|Not Set}} | * <tt>bg</tt> (Breaking Ground)|Not Set}} | ||
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{Parameter row|physics insignificant|Mark the mass and drag automatically with a note that they are insignificant (so called [[massless part]]s). Must be set to "y" to show insignificance | + | {{Parameter row|physics insignificant|Mark the mass and drag automatically with a note that they are insignificant (so called [[massless part]]s). Must be set to "y" to show insignificance. This will use <tt>{{{nref}}}</tt>, so if it isn't set, will set it automatically to "1".|Not set/Hidden}} |
− | {{Parameter row|applyKerbalMass|| | + | {{Parameter row|applyKerbalMass|Whether the part applies extra mass of a Kerbal on the part. Must be set to "n" to exclude the added mass. Only used for wet/dry mass calculation.|<tt>y</tt>}}}} |
{{Parameter row|filename|The filename (with extension) of the part configuration.}} | {{Parameter row|filename|The filename (with extension) of the part configuration.}} | ||
{{Parameter row|part|Name of the part folder. Used for linking to the cfg-entry on the wiki. It will create a link to <tt><nowiki>Parts/{{{parent}}}/{{{part}}}/{{{filename}}}</nowiki></tt>.|<tt>Unknown cfg</tt>}} | {{Parameter row|part|Name of the part folder. Used for linking to the cfg-entry on the wiki. It will create a link to <tt><nowiki>Parts/{{{parent}}}/{{{part}}}/{{{filename}}}</nowiki></tt>.|<tt>Unknown cfg</tt>}} |
Latest revision as of 21:29, 20 October 2024
Name | Optional | Description | Default |
---|---|---|---|
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. | {{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 |
size3 | Yes | Third radial size of the part (uses {{Radial size}}). | Not set/Hidden |
size4 | Yes | Fourth radial size of the part (uses {{Radial size}}). | 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. | ? |
manufacturer2 | Yes | Second manufacturer of the part. | Not set/Hidden |
costs | No | Cost of the part, which is usually given in the part configuration. | |
mass | No | Mass of the part, which is usually given in the part configuration. | |
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 configuration. | |
tolerance | No | Impact tolerance of the part, which is usually given in the part configuration. | |
research | Yes | Research node required for this part. Uses {{Dict/sci node}} to translate names. | Unknown |
unlock cost | No | Cost to unlock the part, which is usually given in the part configuration. | |
since | Yes | Version the part first appeared in. It will be used in {{version}}. | Unknown |
dlc | Yes | Name of the dlc. Used for linking to the cfg-entry on the wiki. Can be:
|
Not Set |
filename | No | The filename (with extension) of the part configuration. | |
part | Yes | Name of the part folder. Used for linking to the cfg-entry on the wiki. It will create a link to Parts/{{{parent}}}/{{{part}}}/{{{filename}}}. | Unknown cfg |
parent | Yes | Parent directory of the part folder. Used for linking to the cfg-entry on the wiki. | Not set/Hidden |
Creates a parameters table for the templates of {{Infobox/Part}}.
Parameters
Name | Optional | Description | Default |
---|---|---|---|
additional | Yes | List additional parameters. | Not set |
Additional parameters
To add additional parameters add a row for each parameter using {{Parameter row}}.