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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Added degree symbol to field of view info)
m (typo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Part/preview|</noinclude>
+
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|fov}}|{{{min-fov<noinclude>|5</noinclude>}}}&nbsp;°|{{{max-fov|<noinclude>10</noinclude>}}}&nbsp;°|type1=min|type2=max}}
{{Infobox/Line|Field of View|{{{min-FoV<noinclude>|5</noinclude>}}}&nbsp;°|{{{max-FoV|<noinclude>10</noinclude>}}}&nbsp;°|type1=min|type2=max}}
+
{{Infobox/Line|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}}&nbsp;%}}
{{Infobox/Line|Detection|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}}&nbsp;%|}}
+
{{Infobox/Line|{{Infobox/Part/Dict|enhanceable}}|{{Boolean|{{{enhance<noinclude>|y</noinclude>}}}|{{No}}}}}}
{{Infobox/Line|Enhancable|{{#ifeq: {{lc:{{{enhance<noinclude>|y</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{#if: {{{mode2|<noinclude>t</noinclude>}}}|{{Infobox/Part/Dict|modes}}|{{Infobox/Part/Dict|mode}}}}|{{#switch: {{lc:{{{mode<noinclude>|b</noinclude>}}}}}|b={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=N/A}}}}{{if||{{{mode2|<noinclude>t</noinclude>}}}|
{{Infobox/Line|{{#if: {{{mode2}}}|Modes|Mode}}|{{#switch: {{lc:{{{mode1<noinclude>|b</noinclude>}}}}}|b=Biome|t=Terrain|r=Resources|#default=N/A}}}}
+
{{Infobox/Line||{{#switch: {{lc:{{{mode2<noinclude>|t</noinclude>}}}}}|b={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=}}}}{{if||{{{mode3|<noinclude>r</noinclude>}}}|
{{Infobox/Line||{{#switch: {{lc:{{{mode2<noinclude>|t</noinclude>}}}}}|b=Biome|t=Terrain|r=Resources|#default=}}}}
+
{{Infobox/Line||{{#switch: {{lc:{{{mode3<noinclude>|r</noinclude>}}}}}|b={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=}}}}}}}}<noinclude>
{{Infobox/Line||{{#switch: {{lc:{{{mode3<noinclude>|r</noinclude>}}}}}|b=Biome|t=Terrain|r=Resources|#default=}}}}
+
}}
<noinclude>}}
 
  
 
{{Tl|Infobox/Part}} module for [[KerbNet]] access.
 
{{Tl|Infobox/Part}} module for [[KerbNet]] access.
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|min-FoV|Minimum Field of View.}}
+
{{Parameter row|min-fov|Minimum Field of View.}}
{{Parameter row|max-FoV|Maximum Field of View.}}
+
{{Parameter row|max-fov|Maximum Field of View.}}
 
{{Parameter row|detect|Percentage to detect anomalies, expressed in a decimal.}}
 
{{Parameter row|detect|Percentage to detect anomalies, expressed in a decimal.}}
{{Parameter row|enhance|Wether the scanning can be enhanced or not.|Not set/Hidden}}
+
{{Parameter row|enhance|Whether the scanning can be enhanced or not.|{{No}}}}
{{Parameter row|mode1|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).}}
+
{{Parameter row|mode|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).}}
 
{{Parameter row|mode2|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).|Not set/Hidden}}
 
{{Parameter row|mode2|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).|Not set/Hidden}}
 
{{Parameter row|mode3|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).|Not set/Hidden}}
 
{{Parameter row|mode3|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).|Not set/Hidden}}

Latest revision as of 09:47, 17 September 2024

Field of View (min) 5 °
(max) 10 °
Anomaly detection 30 %
Enhanceable Yes
Modes Biome
Terrain
Resources

{{Infobox/Part}} module for KerbNet access.

Name Optional Description Default
min-fov No Minimum Field of View.
max-fov No Maximum Field of View.
detect No Percentage to detect anomalies, expressed in a decimal.
enhance Yes Whether the scanning can be enhanced or not. No
mode No In which modes can be scanned (biome, terrain, resources).
mode2 Yes In which modes can be scanned (biome, terrain, resources). Not set/Hidden
mode3 Yes In which modes can be scanned (biome, terrain, resources). Not set/Hidden