Difference between revisions of "Template:Infobox/Part/kerbnet"
From Kerbal Space Program Wiki
< Template:Infobox | Part
SlayerGames (talk | contribs) (Localization) |
m (Show pluralization of mode correctly, only show other modes when the paramater is given) |
||
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>}}} °|{{{max-fov|<noinclude>10</noinclude>}}} °|type1=min|type2=max}} |
− | {{Infobox/Line|{{Infobox/Part/Dict|fov}}|{{{min- | + | {{Infobox/Line|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}} %}} |
− | {{Infobox/Line|{{Infobox/Part/Dict|detection}}|{{#expr: {{{detect<noinclude>|0.3</noinclude>}}} * 100 round 0}} % | ||
{{Infobox/Line|{{Infobox/Part/Dict|enhancable}}|{{#ifeq: {{lc:{{{enhance<noinclude>|y</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}} | {{Infobox/Line|{{Infobox/Part/Dict|enhancable}}|{{#ifeq: {{lc:{{{enhance<noinclude>|y</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}} | ||
− | {{Infobox/Line|{{#if: {{{mode2}}}|{{Infobox/Part/Dict|modes}}|{{Infobox/Part/Dict|mode}}}}|{{#switch: {{lc:{{{ | + | {{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=}}}} | + | {{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:{{{mode3<noinclude>|r</noinclude>}}}}}|b={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=}}}} | + | {{Infobox/Line||{{#switch: {{lc:{{{mode3<noinclude>|r</noinclude>}}}}}|b={{Dict|biome}}|t={{Dict|terrain}}|r={{Dict|resources}}|#default=}}}}}}}}<noinclude> |
− | <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- | + | {{Parameter row|min-fov|Minimum Field of View.}} |
− | {{Parameter row|max- | + | {{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| | + | {{Parameter row|enhance|Whether the scanning can be enhanced or not.|No}} |
− | {{Parameter row| | + | {{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}} |
Revision as of 20:10, 9 September 2024
Field of View | (min) | 5 ° |
(max) | 10 ° | |
Anomaly detection | 30 % | |
enhancable | 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 |