Difference between revisions of "Template:Infobox/Part/sensor"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Use dict, add experiments, add more params, sort table)
m (format)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|{{Dict/science|experiment}}|{{#switch: {{lc:{{{experiment<noinclude>|sf</noinclude>}}}}}
+
<noinclude>{{Infobox/Part/preview|
 +
</noinclude>{{Infobox/Line|{{Dict/science|exp}}|{{#switch: {{lc:{{{experiment<noinclude>|sf</noinclude>}}}}}
 
|mgo={{if lang link|Mystery Goo Observation|{{Dict/science|goo}}}}
 
|mgo={{if lang link|Mystery Goo Observation|{{Dict/science|goo}}}}
 
|ms={{if lang link|Materials Study|{{Dict/science|mat}}}}
 
|ms={{if lang link|Materials Study|{{Dict/science|mat}}}}
Line 15: Line 16:
 
{{Infobox/Line|{{Infobox/Part/Dict|Rerunnable}}|{{#ifeq: {{lc:{{{rerunnable|}}}}}|n|{{No}}|{{Yes}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|Rerunnable}}|{{#ifeq: {{lc:{{{rerunnable|}}}}}|n|{{No}}|{{Yes}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|Resettable}}|{{#ifeq: {{lc:{{{resettable|}}}}}|n|{{No}}|{{Yes}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|Resettable}}|{{#ifeq: {{lc:{{{resettable|}}}}}|n|{{No}}|{{Yes}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{#ifeq: {{{electricity|<noinclude>n/a</noinclude>}}}|n/a|{{Dict|None}}|{{{electricity}}}&nbsp;{{mark|echu}}/{{dict|s}}}}}}<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{#ifeq: {{{electricity|<noinclude>n/a</noinclude>}}}|n/a|{{Dict|None}}|{{{electricity}}}&nbsp;{{mark|echu}}/{{dict|s}}}}}}<noinclude>
 +
}}
  
 
{{Tl|Infobox/Part}} module for [[environmental sensor]]s.
 
{{Tl|Infobox/Part}} module for [[environmental sensor]]s.

Revision as of 19:38, 9 September 2024

Experiment Surface Feature Report
Collectable Yes
Rerunnable Yes
Resettable Yes
Electricity required None

{{Infobox/Part}} module for environmental sensors.

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 sensor experiment.

collectable No Is the experiment data collectable.
rerunnable No Is the experiment rerunnable if there is experiment data in the instrument already.
resettable No Is the instrument resettable after removing the experiment data from it.
electricity No Electricity consumption in ⚡/s for sensors with continuous measurement. If set to n/a shows “None”.