Difference between revisions of "Template:Infobox/Part/solar panel"
From Kerbal Space Program Wiki
< Template:Infobox | Part
(+hopefully implement that groups work;) |
m (Update logic) |
||
(12 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Infobox/Part/preview|</noinclude> | + | <noinclude>{{Infobox/Part/preview| |
− | {{Infobox/Line|{{Infobox/Part/Dict|ele-gen}}| | + | </noinclude>{{Infobox/Line|{{Infobox/Part/Dict|ele-gen}}|{{{electricity<noinclude>|2</noinclude>}}} {{mark|echu}}/{{dict|s}} {{#tag:ref|{{Infobox/Part/Dict|energy output note}}}}}} |
− | {{if||{{{layout<noinclude> | + | {{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{Boolean|{{{retractable}}}|{{Yes}}}}}} |
− | + | {{Infobox/Line|{{Infobox/Part/Dict|tracking}}|{{Boolean|{{{tracking}}}|{{Yes}}}}}}{{if||{{{layout|<noinclude>2×3</noinclude>}}}| | |
− | }}<noinclude> | + | {{Infobox/Line|{{Infobox/Part/Dict|layout}}|{{{layout<noinclude>|2×3</noinclude>}}}}}}}<noinclude> |
− | {{Infobox/Line| | + | {{Infobox/Line|<hr>{{#tag:references}}}}}} |
− | <hr> | ||
− | {{#tag:references | ||
− | {{Tl|Infobox/Part}} module for [[solar | + | {{Tl|Infobox/Part}} module for [[Electric_charge#Solar_panels|solar panels]]. |
− | {{Parameter | + | {{Parameter table|name=text|parameters= |
− | {{Parameter | + | {{Parameter row|electricity|Electricity generation in {{mark|echu}}/s}} |
− | {{Parameter | + | {{Parameter row|retractable|Whether the solar panels are retractable.|{{Yes}}}} |
− | + | {{Parameter row|tracking|Whether the solar panels are tracking the sun.|{{Yes}}}} | |
+ | {{Parameter row|layout|Layout with [[Terminology#zenith|zenith]] axis first.|Not set/hidden}} | ||
}} | }} | ||
− | </noinclude> | + | {{Subcategory|modules}}</noinclude> |
Latest revision as of 08:38, 17 September 2024
Electricity generated | 2 ⚡/s [1] | |
Retractable | Yes | |
Tracking | Yes | |
Layout | 2×3 | |
|
{{Infobox/Part}} module for solar panels.
Name | Optional | Description | Default |
---|---|---|---|
electricity | No | Electricity generation in ⚡/s | |
retractable | Yes | Whether the solar panels are retractable. | Yes |
tracking | Yes | Whether the solar panels are tracking the sun. | Yes |
layout | Yes | Layout with zenith axis first. | Not set/hidden |