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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add antenna power)
m (fix dict param)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{#if: {{{experiment|<noinclude>mgo</noinclude>}}}|
+
</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 8: Line 8:
 
|#default={{{experiment}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown science experiment]]}}}}}}{{if||{{{power|<noinclude>500000</noinclude>}}}|
 
|#default={{{experiment}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown science experiment]]}}}}}}{{if||{{{power|<noinclude>500000</noinclude>}}}|
 
{{Infobox/Line|{{Infobox/Part/Dict|rating}}|{{SI prefix|{{{power<noinclude>|500000</noinclude>}}}}}{{Dict|m}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|rating}}|{{SI prefix|{{{power<noinclude>|500000</noinclude>}}}}}{{Dict|m}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|Volume}}|{{#ifeq: {{{volume|}}}|-1|{{Dict|none}}|{{{volume<noinclude>|50</noinclude>}}}&nbsp;{{Dict|l}}}}}}{{if||{{{generate|<noinclude>4</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-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>

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