Difference between revisions of "Template:Infobox/Part/solar panel"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (translations has been moved to a separate dictionary)
m (Simplify refs, formatting)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Line|{{Infobox/Part/Dict|ele-gen}}|2={{{electricity<noinclude>|2</noinclude>}}}&nbsp;{{mark|echu}}/{{dict|s}}&nbsp;{{#tag:ref|{{Infobox/Part/Dict|energy output note}}|group="{{{nref|N}}}"}}}}
+
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|ele-gen}}|{{{electricity<noinclude>|2</noinclude>}}}&nbsp;{{mark|echu}}/{{dict|s}}&nbsp;{{#tag:ref|{{Infobox/Part/Dict|energy output note}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{#ifeq: {{lc:{{{retractable|y}}}}}|y|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{#ifeq: {{lc:{{{retractable|y}}}}}|y|{{Yes}}|{{No}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|tracking}}|{{#ifeq: {{lc:{{{tracking|y}}}}}|y|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|tracking}}|{{#ifeq: {{lc:{{{tracking|y}}}}}|y|{{Yes}}|{{No}}}}}}{{if||{{{layout|<noinclude>2×3</noinclude>}}}|
{{if||{{{layout<noinclude>|2×3</noinclude>|}}}|
+
{{Infobox/Line|{{Infobox/Part/Dict|layout}}|{{{layout<noinclude>|2×3</noinclude>}}}}}}}<noinclude>
  {{Infobox/Line|{{Infobox/Part/Dict|layout}}|{{{layout<noinclude>|2×3</noinclude>}}}}}
+
{{Infobox/Line|<hr>{{#tag:references}}}}}}
}}<noinclude>
 
{{Infobox/Line|1=
 
<hr>
 
{{#tag:references||group="N"}}}}}}
 
  
 
{{Tl|Infobox/Part}} module for [[Electric_charge#Solar_panels|solar panels]].
 
{{Tl|Infobox/Part}} module for [[Electric_charge#Solar_panels|solar panels]].
Line 17: Line 13:
 
{{Parameter row|tracking|Whether the solar panels are tracking the sun. Must be ''y'' in that case, any other is interpreted as ''not tracking''.|<tt>y</tt>}}
 
{{Parameter row|tracking|Whether the solar panels are tracking the sun. Must be ''y'' in that case, any other is interpreted as ''not tracking''.|<tt>y</tt>}}
 
{{Parameter row|layout|Layout with [[Terminology#zenith|zenith]] axis first.|Not set/hidden}}
 
{{Parameter row|layout|Layout with [[Terminology#zenith|zenith]] axis first.|Not set/hidden}}
{{Parameter row|nref|Reference group for the note about the distance.|<tt>N</tt>}}
 
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 21:36, 13 September 2024

Electricity generated 2 ⚡/s [1]
Retractable Yes
Tracking Yes
Layout 2×3

  1. Energy output depends on the distance and angle to the Sun. The value is achieved at Kerbin's distance, with the panel pointed directly at the Sun.

{{Infobox/Part}} module for solar panels.

Name Optional Description Default
electricity No Electricity generation in ⚡/s
retractable Yes Whether the solar panels are retractable. Must be y in that case, any other is interpreted as not retractable. y
tracking Yes Whether the solar panels are tracking the sun. Must be y in that case, any other is interpreted as not tracking. y
layout Yes Layout with zenith axis first. Not set/hidden