Difference between revisions of "Template:Infobox/Part/rover wheel"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (translations has been moved to a separate dictionary)
m (formatting)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{#ifeq: {{lc:{{{retract<noinclude>|n</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}}
+
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{#ifeq: {{lc:{{{retract<noinclude>|y</noinclude>}}}}}|y|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|brake}}|{{#ifexpr: {{{brake<noinclude>|34</noinclude>}}} > 0|{{{brake<noinclude>|34</noinclude>}}}&nbsp;{{Dict|k}}{{Dict|N}}{{Dict|m}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|brake}}|{{#ifexpr: {{{brake<noinclude>|34</noinclude>}}} > 0|{{{brake<noinclude>|34</noinclude>}}}&nbsp;{{Dict|k}}{{Dict|N}}{{Dict|m}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|steering}}|{{{steering<noinclude>|31</noinclude>}}}&nbsp;°}}
 
{{Infobox/Line|{{Infobox/Part/Dict|steering}}|{{{steering<noinclude>|31</noinclude>}}}&nbsp;°}}
 
{{Infobox/Line|{{Infobox/Part/Dict|speed}}|{{{speed<noinclude>|12</noinclude>}}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|speed}}|{{{speed<noinclude>|12</noinclude>}}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{{elec<noinclude>|1.0</noinclude>}}}&nbsp;{{Mark|echu}}/{{dict|s}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{{elec<noinclude>|1.0</noinclude>}}}&nbsp;{{Mark|echu}}/{{dict|s}}}}<noinclude>
<noinclude>}}
+
}}
  
 
{{Tl|Infobox/Part}} module for [[:Category:Rover wheels|rover wheels]]. Use this module directly for them.
 
{{Tl|Infobox/Part}} module for [[:Category:Rover wheels|rover wheels]]. Use this module directly for them.
Line 11: Line 11:
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
 
{{Parameter row|retract|Whether the wheel is retractable or not.}}
 
{{Parameter row|retract|Whether the wheel is retractable or not.}}
{{Parameter row|brake|The speed in kNm at which the wheel brakes.}}
+
{{Parameter row|brake|The speed in kNm at which the wheel brakes. Shows as <code>No</code> if set to 0.}}
{{Parameter row|steering|How many degrees the wheel can turn.|Not set/Hidden}}
+
{{Parameter row|steering|How many degrees the wheel can turn.}}
{{Parameter row|speed|The speed the motor can create in m/s.|Not set/Hidden}}
+
{{Parameter row|speed|The speed the motor can create in m/s.}}
{{Parameter row|elec|Electricity requirement in {{mark|echu}}/s.|Not set/Hidden}}
+
{{Parameter row|elec|Electricity requirement in {{mark|echu}}/s.}}
 
}}
 
}}
  
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 20:50, 12 September 2024

Retractable Yes
Brake torque 34 kNm
Steering range 31 °
Max. Speed 12 m/s
Electricity required 1.0 ⚡/s

{{Infobox/Part}} module for rover wheels. Use this module directly for them.

Name Optional Description Default
retract No Whether the wheel is retractable or not.
brake No The speed in kNm at which the wheel brakes. Shows as No if set to 0.
steering No How many degrees the wheel can turn.
speed No The speed the motor can create in m/s.
elec No Electricity requirement in ⚡/s.