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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add heat dissipation)
m (Update logic)
 
(7 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-req}}|{{{require<noinclude>|0.025</noinclude>}}}&nbsp;'''{{mark|echu}}'''/{{dict|s}}}}
+
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{{require<noinclude>|0.025</noinclude>}}}&nbsp;{{mark|echu}}/{{dict|s}}}}
{{Infobox/Line|Dissipated heat|{{{dissipate<noinclude>|7500</noinclude>}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|dissipate}}|{{#expr: {{{dissipate|0<noinclude>7500</noinclude>}}}/50}}&nbsp;{{dict|k}}{{dict|W}}&nbsp;{{#tag:ref|{{Infobox/Part/Dict|cooling {{#ifeq: {{lc:{{{parent cooling}}}}}|y|parent|all}} note}}}}}}
{{Infobox/Line|Retractable|{{#ifeq: {{lc:{{{retractable<noinclude>|y</noinclude>}}}}}|y|{{Dict|yes}}|{{Dict|no}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{Boolean|{{{retractable<noinclude>|y</noinclude>}}}|{{No}}}}}}<noinclude>
<noinclude>}}
+
{{Infobox/Line|<hr>{{#tag:references}}}}}}
  
{{Tl|Infobox/Part}} module for [[Radiator]] panels.
+
{{Tl|Infobox/Part}} module for [[radiator]] panels.
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|require|Electricity required in {{mark|echu}}/s}}
+
{{Parameter row|require|The amount of electricity required in {{mark|echu}}/s}}
 
{{Parameter row|dissipate|How much heat that gets dissipated into space.}}
 
{{Parameter row|dissipate|How much heat that gets dissipated into space.}}
{{Parameter row|retractable|Whether the radiator panels are retractable.|<tt>n</tt>}}
+
{{Parameter row|parent cooling|Whether the radiator only cools nearby parts or all parts. This changes the note that is shown.|cooling all note}}
 +
{{Parameter row|retractable|Whether the radiator panels are retractable.|{{No}}}}
 
}}
 
}}
  
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 07:29, 17 September 2024

Electricity required 0.025 ⚡/s
Dissipated heat 150 kW [1]
Retractable Yes

  1. This radiator cools all the parts on the craft.

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

Name Optional Description Default
require No The amount of electricity required in ⚡/s
dissipate No How much heat that gets dissipated into space.
parent cooling Yes Whether the radiator only cools nearby parts or all parts. This changes the note that is shown. cooling all note
retractable Yes Whether the radiator panels are retractable. No