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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Create template for resource harvesters)
 
m (Use dict)
 
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|
 
<noinclude>{{Infobox/Part/preview|
 
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|type}}|{{#switch: {{lc:{{{type<noinclude>|Planetary</noinclude>}}}}}
 
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|type}}|{{#switch: {{lc:{{{type<noinclude>|Planetary</noinclude>}}}}}
|planetary=Planetary
+
|planetary={{Infobox/Part/Dict|planetary}}
|oceanic=Oceanic
+
|oceanic={{Infobox/Part/Dict|oceanic}}
|atmospheric=Atmospheric
+
|atmospheric={{Infobox/Part/Dict|atmospheric}}
|exospheric=Exospheric
+
|exospheric={{Infobox/Part/Dict|exospheric}}
|asteroid=[[Asteroid]]
+
|asteroid={{Infobox/Part/Dict|asteroid}}
|comet=[[Comet]]
+
|comet={{Infobox/Part/Dict|comet}}
 
|#default={{{type}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown harvester type]]}}}}{{if||{{{resource|<noinclude>or</noinclude>}}}|
 
|#default={{{type}}}<sup>[''{{Dict|Unknown}}'']</sup>[[Category:Unknown harvester type]]}}}}{{if||{{{resource|<noinclude>or</noinclude>}}}|
 
{{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

Harvester type Planetary
Resource Ore
Efficiency 250 %
Electricity required 50 ⚡/s
Ore 2.5 unit/s

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

Name Optional Description Default
type No The type of the harvester. Supported:
  • planetary
  • oceanic
  • atmospheric
  • exospheric
  • asteroid
  • comet

If the value is not known, it adds the page to Category:Unknown harvester type.

resource Yes The resource that will be harvested. Not set/Hidden
efficiency No The efficiency of the harvester.
usage No The amount of electricity the harvester uses per second.