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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Put min max on 1 line)
m (typo)
 
(9 intermediate revisions by 3 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>}}}|{{{max-FoV|<noinclude>10</noinclude>}}}|type1=min|type2=max}}
+
{{Infobox/Line|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}}&nbsp;%}}
{{Infobox/Line|Detection    |{{{detect|<noinclude>0</noinclude>}}}|}}
+
{{Infobox/Line|{{Infobox/Part/Dict|enhanceable}}|{{Boolean|{{{enhance<noinclude>|y</noinclude>}}}|{{No}}}}}}
{{Infobox/Line|Enhancable  |{{#ifeq: {{lc:{{{enhance}}}}}|y|{{Dict|yes}}|{{Dict|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|}}}}}|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|}}}}}|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|}}}}}|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|If the scanning can be enhanced.|Not set/Hidden}}
+
{{Parameter row|enhance|Whether the scanning can be enhanced or not.|{{No}}}}
{{Parameter row|mode1|In which modes can be scanned.}}
+
{{Parameter row|mode|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).}}
{{Parameter row|mode2|In which modes can be scanned.|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.|Not set/Hidden}}
+
{{Parameter row|mode3|In which modes can be scanned ('''b'''iome, '''t'''errain, '''r'''esources).|Not set/Hidden}}
 
}}
 
}}
  
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

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