Difference between revisions of "Template:Infobox/Part/resource scanner"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add template for resource scanners)
 
m (Use dict)
 
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|
 
<noinclude>{{Infobox/Part/preview|
 
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|mode}}|{{#switch: {{lc:{{{mode<noinclude>|Surface</noinclude>}}}}}
 
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|mode}}|{{#switch: {{lc:{{{mode<noinclude>|Surface</noinclude>}}}}}
|surface=Surface
+
|surface={{Infobox/Part/Dict|surface}}
|ocean=Ocean
+
|ocean={{Infobox/Part/Dict|ocean}}
|atmosphere=Atmosphere
+
|atmosphere={{Infobox/Part/Dict|atmosphere}}
|exospheric=Exospheric
+
|exospheric={{Infobox/Part/Dict|exospheric}}
 
|#default={{{mode}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown scanner mode]]}}}}
 
|#default={{{mode}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown scanner mode]]}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|resource}}|{{Dict/resource|{{{resource<noinclude>|or</noinclude>}}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|resource}}|{{Dict/resource|{{{resource<noinclude>|or</noinclude>}}}}}}}

Latest revision as of 16:09, 14 September 2024

Mode Surface
Resource Ore
Max. Altitude 250 000 m

{{Infobox/Part}} module for resource scanners.

Name Optional Description Default
mode No The mode of the scanner. Supported:
  • surface
  • ocean
  • atmosphere
  • exospheric

If the value is not known, it adds the page to Category:Unknown scanner mode.

resource No The resource that is scanned for.
altitude No The maximum altitude the scanner can be to be effective.