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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Show pluralization of mode correctly, only show other modes when the paramater is given)
m (typo)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|fov}}|{{{min-fov<noinclude>|5</noinclude>}}}&nbsp;°|{{{max-fov|<noinclude>10</noinclude>}}}&nbsp;°|type1=min|type2=max}}
 
</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|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}}&nbsp;%}}
 
{{Infobox/Line|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}}&nbsp;%}}
{{Infobox/Line|{{Infobox/Part/Dict|enhancable}}|{{#ifeq: {{lc:{{{enhance<noinclude>|y</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|enhanceable}}|{{Boolean|{{{enhance<noinclude>|y</noinclude>}}}|{{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|<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||{{#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={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=}}}}{{if||{{{mode3|<noinclude>r</noinclude>}}}|
Line 14: Line 14:
 
{{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|Whether the scanning can be enhanced or not.|No}}
+
{{Parameter row|enhance|Whether the scanning can be enhanced or not.|{{No}}}}
 
{{Parameter row|mode|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}}

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