Difference between revisions of "Template:Infobox/Part/Parameters"
From Kerbal Space Program Wiki
< Template:Infobox | Part
(deleted volume and stacking capacity) |
m (Update information) |
||
Line 7: | Line 7: | ||
{{Parameter row|file|Filename to image of the part.|[[:File:Image needed.svg]]}} | {{Parameter row|file|Filename to image of the part.|[[:File:Image needed.svg]]}} | ||
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{Parameter row|type|[[#Types|Type]] of the part. Automatically defines the role and parent | + | {{Parameter row|type|[[#Types|Type]] of the part. Automatically defines the role and parent parameters.}} |
{{Parameter row|role|Role of the part. Overrides the type parameter.|<nowiki>{{type}}</nowiki>}}}} | {{Parameter row|role|Role of the part. Overrides the type parameter.|<nowiki>{{type}}</nowiki>}}}} | ||
− | + | {{Parameter row|manufacturer|Manufacturer of the part. If set, linked to the category of this name (see also [[:Category:Manufacturers]]). Automatically uses {{Tl|Infobox/Part/Manufacturer}} and {{Tl|Infobox/Part/Manufacturer entry}} on it.|<tt>?</tt>}} | |
− | |||
− | |||
− | {{Parameter row|manufacturer|Manufacturer of the part. If set linked to the category of this name (see also [[:Category:Manufacturers]]). Automatically uses {{Tl|Infobox/Part/Manufacturer}} and {{Tl|Infobox/Part/Manufacturer entry}} on it.| | ||
{{Parameter row|manufacturer2|Second manufacturer of the part.|Not set/Hidden|1}} | {{Parameter row|manufacturer2|Second manufacturer of the part.|Not set/Hidden|1}} | ||
− | {{Parameter row|costs|Cost of the part, which is usually given in the part | + | {{Parameter row|size|Radial size of the part (uses {{Tl|Radial size}}).|Not set/Hidden}} |
− | {{Parameter row|mass|Mass of the part, which is usually given in the part. | + | {{Parameter row|size2|Second radial size of the part (uses {{Tl|Radial size}}).|Not set/Hidden|1}} |
+ | {{Parameter row|size3|Third radial size of the part (uses {{Tl|Radial size}}).|Not set/Hidden|1}} | ||
+ | {{Parameter row|size4|Fourth radial size of the part (uses {{Tl|Radial size}}).|Not set/Hidden|1}} | ||
+ | {{Parameter row|costs|Cost 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|Amount of Liquid Fuel on | + | {{Parameter row|lf|Amount of Liquid Fuel on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ox|Amount of Oxidizer on | + | {{Parameter row|ox|Amount of Oxidizer on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|mp|Amount of Monopropellant on | + | {{Parameter row|mp|Amount of Monopropellant on the part in units. Only used wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|sf|Amount of Solid Fuel on | + | {{Parameter row|sf|Amount of Solid Fuel on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|xg|Amount of Xenon Gas on | + | {{Parameter row|xg|Amount of Xenon Gas on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ia|Amount of Intake Air on | + | {{Parameter row|ia|Amount of Intake Air on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|or|Amount of Ore on | + | {{Parameter row|or|Amount of Ore on the part in units. Only used for wet mass/dry costs calculation.|<tt>0</tt>}} |
− | {{Parameter row|ab|Amount of Ablator on | + | {{Parameter row|ab|Amount of Ablator on the part in units. Only used for wet mass/dry costs 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 | + | {{Parameter row|temp|Temperature resistance of the part, which is usually given in the part configuration.}} |
− | {{Parameter row|tolerance|Impact tolerance of the part, which is usually given in the part | + | {{Parameter row|tolerance|Impact tolerance of the part, which is usually given in the part configuration.}} |
− | {{Parameter row|research|Research node required for this part. Uses {{Tl|Dict/sci node}} to translate names.|Unknown}} | + | {{Parameter row|research|Research node required for this part. Uses {{Tl|Dict/sci node}} to translate names.|<tt>Unknown</tt>}} |
− | {{Parameter row|unlock cost|Cost to unlock the part, which is usually given in the part | + | {{Parameter row|unlock cost|Cost to unlock the part, which is usually given in the part configuration.}} |
− | {{Parameter row|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}} | + | {{Parameter row|since|Version the part first appeared in. It will be used in {{Tl|version}}.|<tt>Unknown</tt>}} |
− | {{Parameter row|dlc|Name of the dlc. Used for | + | {{Parameter row|dlc|Name of the dlc. Used for linking to the cfg-entry on the wiki. Can be: |
− | * <tt>mh</tt> | + | * <tt>mh</tt> (Making History) |
− | * <tt>bg</tt>|Not Set}} | + | * <tt>bg</tt> (Breaking Ground)|Not Set}} |
− | {{Parameter row|filename|The filename (with extension) of the part. | + | {{Parameter row|filename|The filename (with extension) of the part configuration.}} |
− | {{Parameter row|part|Name of the part folder. Used for | + | {{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>}} |
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{Parameter row|parent|Parent directory of the part folder. Used for | + | {{Parameter row|parent|Parent directory of the part folder. Used for linking to the cfg-entry on the wiki. Overrides the type parameter.|<nowiki>{{type}}</nowiki>}} |
− | {{Parameter row|physics insignificant|Mark the mass and drag automatically with a note that they are insignificant (so called [[massless part]]s). This will use {{{nref}}}, so if it isn't set, will set it automatically to " | + | {{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|notes|Additional notes below the part information.|Not set/Hidden}} | {{Parameter row|notes|Additional notes below the part information.|Not set/Hidden}} | ||
− | {{Parameter row|nref|Automatically | + | {{Parameter row|nref|Automatically adds references below the part information.|Not set/Hidden}} |
{{Parameter row|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||{{Tl|Infobox/Part}} section }}[[Template:Infobox/Part#More parameter|More parameter]]).|Not set}}}} | {{Parameter row|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||{{Tl|Infobox/Part}} section }}[[Template:Infobox/Part#More parameter|More parameter]]).|Not set}}}} | ||
}}<noinclude> | }}<noinclude> | ||
Line 48: | Line 49: | ||
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
{{Parameter row|additional|List additional parameters.|Not set}} | {{Parameter row|additional|List additional parameters.|Not set}} | ||
− | |||
− | |||
− | |||
}} | }} | ||
Revision as of 08:34, 18 September 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 |
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 |
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 |
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 |
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}}.