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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (typo)
m (fix dict param)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
 +
</noinclude>{{#if: {{{experiment|<noinclude>mgo</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>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown science experiment]]}}}}}}{{if||{{{power|<noinclude>500000</noinclude>}}}|
{{Infobox/Line|{{Infobox/Part/Dict|science}}|{{{min-sci<noinclude>|0.0045</noinclude>}}}&nbsp;p/{{dict|hour}}|{{{max-sci<noinclude>|0.09</noinclude>}}}&nbsp;p/{{dict|hour}}|type1=min|type2=max}}
+
{{Infobox/Line|{{Infobox/Part/Dict|rating}}|{{SI prefix|{{{power<noinclude>|500000</noinclude>}}}}}{{Dict|m}}}}}}
<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|volume itself}}|{{#ifeq: {{{volume|}}}|-1|{{Dict|none}}|{{{volume<noinclude>|50</noinclude>}}}&nbsp;{{Dict|l}}}}}}{{if||{{{generate|<noinclude>4</noinclude>}}}|
 +
{{Infobox/Line|{{Infobox/Part/Dict|pow-gen}}|{{{generate<noinclude>|4</noinclude>}}}&nbsp;{{Dict|unit}}}}}}{{if||{{{usage|<noinclude>1</noinclude>}}}|
 +
{{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 17:
 
{{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]]
+
If the value is not known, it adds the page to [[:Category:Unknown science experiment]].|Not set/Hidden}}
* <tt>ss</tt>: [[Seismic Sensor]]
+
{{Parameter row|power|The range of the antenna.|Not set/Hidden}}
If the value is not known, it adds the page to [[:Category:Unknown science experiment]].}}
+
{{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|min-sci|Minimum science generated in p/hour.}}
+
{{Parameter row|generate|The amount of power the part is generating.|Not set/Hidden}}
{{Parameter row|max-sci|Maximum science generated in p/hour.}}
+
{{Parameter row|usage|The amount ow power the part is consuming.|Not set/Hidden}}
 
}}
 
}}
  
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 05:28, 11 September 2024

Experiment Surface Deployed Mystery Goo Observations
Antenna rating 500 km
Packed volume 50 l
Power generated 4 unit
Power required 1 unit

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

Name Optional Description Default
experiment Yes 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.

Not set/Hidden
power Yes The range of the antenna. Not set/Hidden
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/Hidden
usage Yes The amount ow power the part is consuming. Not set/Hidden