Difference between revisions of "Template:Infobox/Part/docking port"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Create template for docking ports)
 
m (No need for duplicate size)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
<noinclude>{{Infobox/Part/preview|</noinclude>
{{Infobox/Line|[[Radial size{{if lang}}|{{Infobox/Part/Dict|Size}}]]|{{Radial size|{{{size<noinclude>|0</noinclude>}}}}}}}
 
 
{{Infobox/Line|{{Infobox/Part/Dict|Rotates}}|{{#ifeq: {{lc:{{{rotates|}}}}}|n|{{No}}|{{Yes}}
 
{{Infobox/Line|{{Infobox/Part/Dict|Rotates}}|{{#ifeq: {{lc:{{{rotates|}}}}}|n|{{No}}|{{Yes}}
 
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ((0.02*{{{motorOutput<noinclude>|800</noinclude>}}}*(2.5/180))/0.75)*{{{usage<noinclude>|1</noinclude>}}}}}|2}}&nbsp;{{mark|echu}}/{{dict|s}}}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ((0.02*{{{motorOutput<noinclude>|800</noinclude>}}}*(2.5/180))/0.75)*{{{usage<noinclude>|1</noinclude>}}}}}|2}}&nbsp;{{mark|echu}}/{{dict|s}}}}}}}}
Line 8: Line 7:
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|size|Radial size of the part (uses {{Tl|Radial size}}).}}
 
 
{{Parameter row|rotates|Can the docking port rotate.}}
 
{{Parameter row|rotates|Can the docking port rotate.}}
 
{{Parameter row|motorOutput|The motor output. <code>maxMotorOutput</code> in the config file.|Hidden if rotates is n}}
 
{{Parameter row|motorOutput|The motor output. <code>maxMotorOutput</code> in the config file.|Hidden if rotates is n}}

Revision as of 09:59, 2 September 2024

Rotates Yes
Electricity required 0.30 ⚡/s

{{Infobox/Part}} module for Docking ports.

Name Optional Description Default
rotates No Can the docking port rotate.
motorOutput Yes The motor output. maxMotorOutput in the config file. Hidden if rotates is n
usage Yes The consumption in ElectricCharge. rate of ElectricCharge in the config file. Hidden if rotates is n