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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Use dict, add more params, sort table)
m (fix dict param)
 
(3 intermediate revisions by one other user 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|{{Dict/science|bg-goo}}}}
 
|mgo={{if lang link|Surface Deployed Mystery Goo Observations|{{Dict/science|bg-goo}}}}
Line 5: Line 6:
 
|ic={{if lang link|Surface Deployed Ion Collector|{{Dict/science|bg-ion}}}}
 
|ic={{if lang link|Surface Deployed Ion Collector|{{Dict/science|bg-ion}}}}
 
|ss={{if lang link|Surface Deployed Seismic Sensor|{{Dict/science|bg-sei}}}}
 
|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|Volume}}|{{#ifeq: {{{volume|}}}|-1|{{Dict|none}}|{{{volume<noinclude>|50</noinclude>}}}&nbsp;{{Dict|l}}}}}}{{if||{{{generate|}}}|
+
{{Infobox/Line|{{Infobox/Part/Dict|rating}}|{{SI prefix|{{{power<noinclude>|500000</noinclude>}}}}}{{Dict|m}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|pow-gen}}|{{{generate<noinclude>|1</noinclude>}}}&nbsp;{{Dict|unit}}}}}}{{if||{{{usage|}}}|
+
{{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>
 
{{Infobox/Line|{{Infobox/Part/Dict|pow-req}}|{{{usage<noinclude>|1</noinclude>}}}&nbsp;{{Dict|unit}}}}}}<noinclude>
 
}}
 
}}
Line 19: Line 21:
 
* <tt>ss</tt>: [[Seismic Sensor]]
 
* <tt>ss</tt>: [[Seismic Sensor]]
 
* <tt>wo</tt>: [[Weather Observations]]
 
* <tt>wo</tt>: [[Weather Observations]]
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]].|Not set/Hidden}}
 
+
{{Parameter row|power|The range of the antenna.|Not set/Hidden}}
 
{{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|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|generate|The amount of power the part is generating.|Not set/Hidden}}
{{Parameter row|usage|The amount ow power the part is consuming.|Not set}}
+
{{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