Difference between revisions of "Template:Infobox/Part/deployed science"

From Kerbal Space Program Wiki
Jump to: navigation, search
(base multiplier and max science info box)
m (Use dict, add more params, sort table)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
{{Infobox/Line|{{Dict/science|Experiment}}|{{#switch: {{lc:{{{experiment<noinclude>|mgo</noinclude>}}}}}
 
{{Infobox/Line|{{Dict/science|Experiment}}|{{#switch: {{lc:{{{experiment<noinclude>|mgo</noinclude>}}}}}
|mgo={{if lang link|Surface Deployed Mystery Goo Observations}}
+
|mgo={{if lang link|Surface Deployed Mystery Goo Observations|{{Dict/science|bg-goo}}}}
|wo={{if lang link|Surface Deployed Weather Observations}}
+
|wo={{if lang link|Surface Deployed Weather Observations|{{Dict/science|bg-wea}}}}
|ic={{if lang link|Surface Deployed Ion Collector}}
+
|ic={{if lang link|Surface Deployed Ion Collector|{{Dict/science|bg-ion}}}}
|ss={{if lang link|Surface Deployed Seismic Sensor}}
+
|ss={{if lang link|Surface Deployed Seismic Sensor|{{Dict/science|bg-sei}}}}
 
|#default={{{experiment}}}<sup>[''unknown'']</sup>[[Category:Unknown science experiment]]}}}}
 
|#default={{{experiment}}}<sup>[''unknown'']</sup>[[Category:Unknown science experiment]]}}}}
{{Infobox/Line|{{Infobox/Part/Dict|science}}|{{{base<noinclude>|0.28125</noinclude>}}}|{{{max<noinclude>|45</noinclude>}}}|type1=base|type2=max}}
+
{{Infobox/Line|{{Infobox/Part/Dict|Volume}}|{{#ifeq: {{{volume|}}}|-1|{{Dict|none}}|{{{volume<noinclude>|50</noinclude>}}}&nbsp;{{Dict|l}}}}}}{{if||{{{generate|}}}|
<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|pow-gen}}|{{{generate<noinclude>|1</noinclude>}}}&nbsp;{{Dict|unit}}}}}}{{if||{{{usage|}}}|
 +
{{Infobox/Line|{{Infobox/Part/Dict|pow-req}}|{{{usage<noinclude>|1</noinclude>}}}&nbsp;{{Dict|unit}}}}}}<noinclude>
 +
}}
  
 
{{Tl|Infobox/Part}} module for deployed science experiments.
 
{{Tl|Infobox/Part}} module for deployed science experiments.
Line 13: Line 15:
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
 
{{Parameter row|experiment|The experiment done by the instrument. The following values are supported (not case sensitive):
 
{{Parameter row|experiment|The experiment done by the instrument. The following values are supported (not case sensitive):
 +
* <tt>ic</tt>: [[Ion Collector]]
 
* <tt>mgo</tt>: [[Mystery Goo Observations]]
 
* <tt>mgo</tt>: [[Mystery Goo Observations]]
 +
* <tt>ss</tt>: [[Seismic Sensor]]
 
* <tt>wo</tt>: [[Weather Observations]]
 
* <tt>wo</tt>: [[Weather Observations]]
* <tt>ic</tt>: [[Ion Collector]]
 
* <tt>ss</tt>: [[Seismic Sensor]]
 
 
If the value is not known, it adds the page to [[:Category:Unknown science experiment]].}}
 
If the value is not known, it adds the page to [[:Category:Unknown science experiment]].}}
{{Parameter row|base|Base multiplier of the experiment to calculate the science per hour.}}
+
 
{{Parameter row|max|Maximum science generated (before the body surface science multipiler).}}
+
{{Parameter row|volume|Volume of the part for cargo storage, which is usually given in the part.cfg in the ModuleCargoPart module. If the volume is -1, it is considered as a construction part which cannot be stored ("None").}}
 +
{{Parameter row|generate|The amount of power the part is generating.|Not set}}
 +
{{Parameter row|usage|The amount ow power the part is consuming.|Not set}}
 
}}
 
}}
  
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 14:22, 1 September 2024

{{Infobox/Part}} module for deployed science experiments.

Name Optional Description Default
experiment No The experiment done by the instrument. The following values are supported (not case sensitive):

If the value is not known, it adds the page to Category:Unknown science experiment.

volume No Volume of the part for cargo storage, which is usually given in the part.cfg in the ModuleCargoPart module. If the volume is -1, it is considered as a construction part which cannot be stored ("None").
generate Yes The amount of power the part is generating. Not set
usage Yes The amount ow power the part is consuming. Not set