Difference between revisions of "Template:Infobox/Part/harvester"
From Kerbal Space Program Wiki
< Template:Infobox | Part
(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={{Infobox/Part/Dict|planetary}} |
− | |oceanic= | + | |oceanic={{Infobox/Part/Dict|oceanic}} |
− | |atmospheric= | + | |atmospheric={{Infobox/Part/Dict|atmospheric}} |
− | |exospheric= | + | |exospheric={{Infobox/Part/Dict|exospheric}} |
− | |asteroid= | + | |asteroid={{Infobox/Part/Dict|asteroid}} |
− | |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
{{Infobox/Part}} module for resource harvesters.
Name | Optional | Description | Default |
---|---|---|---|
type | No | The type of the harvester. Supported:
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. |