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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Update logic)
 
(2 intermediate revisions by 2 users not shown)
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|{{lang|en=[[Electricity#Solar panels|Energy output]] depends on the distance and angle to the [[Kerbol|Sun]]. The value is achieved at [[Kerbin]]'s distance, with the panel pointed directly at the Sun.|pl=[[Electric_charge/pl#Panele_S.C5.82oneczne|Energia wyjściowa]] zależy od odległości od  [[Kerbol/pl|Słońca]]. Ta wartość jest osiągalna na [[Kerbin/pl|Kerbin]]ie.|de=[[Electricity/de|Stromerzeugung]] hängt von der Entfernung zur [[Kerbol/de|Sonne]] ab. Der Wert wird in [[Kerbin/de|Kerbins]] Entfernung erreicht.|ru=[[Electricity/ru|Выдаваемая энергия]] зависит от расстояния до [[Kerbol/ru|Кербола]]. Значение достигает расстояния до [[Kerbin/ru|Кербина]].|hu=Az [[Electric charge/hu#Sources|áramtermelés]] függ a [[light/hu|természetes fényforrástól]] való távolságtól. Az adott érték a [[Kerbin/hu|Kerbin]] pályáján tapasztalható.|tr=[[Electricity/tr#Güneş Panelleri|Enerji çıktısı]], [[Kerbol/tr|Güneş]] ile aradaki mesafeye ve panelin güneşle olan açısına göre değişir. Buradaki değer, [[Kerbin]]'in irtifasında ve panelin güneşi tam olarak gördüğü durumdaki değerdir.}}|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|{{lang|en=Retractable|de=Einklappbar|hu=Bevonható|tr=Katlanabilir}}|{{#ifeq: {{lc:{{{retractable|y}}}}}|y|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{Boolean|{{{retractable}}}|{{Yes}}}}}}
{{Infobox/Line|{{lang|en=Tracking|de=Folgt der Sonne|hu=Fényforrás&shy;követés|tr=Takip edebilir}}|{{#ifeq: {{lc:{{{tracking|y}}}}}|y|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|tracking}}|{{Boolean|{{{tracking}}}|{{Yes}}}}}}{{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|{{lang|en=Layout|hu=Elrendezés|pl=Układ|ru=Расположение|tr=Düzen}}|{{{layout<noinclude>|2×3</noinclude>}}}}}
+
{{Infobox/Line|<hr>{{#tag:references}}}}}}
}}<noinclude>
 
{{Infobox/Line|1=
 
<hr>
 
{{#tag:references||group="N"}}}}}}
 
  
{{Tl|Infobox/Part}} module for [[solar panel]]s.
+
{{Tl|Infobox/Part}} module for [[Electric_charge#Solar_panels|solar panels]].
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
 
{{Parameter row|electricity|Electricity generation in {{mark|echu}}/s}}
 
{{Parameter row|electricity|Electricity generation in {{mark|echu}}/s}}
{{Parameter row|retractable|Whether the solar panels are retractable. Must be ''y'' in that case, any other is interpreted as ''not retractable''.|<tt>y</tt>}}
+
{{Parameter row|retractable|Whether the solar panels are retractable.|{{Yes}}}}
{{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.|{{Yes}}}}
 
{{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>

Latest revision as of 08:38, 17 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. Yes
tracking Yes Whether the solar panels are tracking the sun. Yes
layout Yes Layout with zenith axis first. Not set/hidden