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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
m (Update logic)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Line
+
</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|retractable}}|{{Boolean|{{{retract<noinclude>|y</noinclude>}}}|{{No}}}}}}
|{{Infobox/Part/Dict|ele-req}}
+
{{Infobox/Line|{{Infobox/Part/Dict|brake}}|{{#ifexpr: {{{brake|0<noinclude>34</noinclude>}}} > 0|{{{brake<noinclude>|34</noinclude>}}}&nbsp;{{Dict|k}}{{Dict|N}}{{Dict|m}}|{{No}}}}}}
|{{{electricity<noinclude>|1.0</noinclude>}}}&nbsp;{{lang|en={{mark|echu}}/{{dict|s}}}}  
+
{{Infobox/Line|{{Infobox/Part/Dict|steering}}|{{#ifexpr: {{{steering|0<noinclude>31</noinclude>}}} > 0|{{{steering<noinclude>|31</noinclude>}}}&nbsp;°|{{No}}}}}}{{if||{{{speed|<noinclude>12</noinclude>}}}|
 +
{{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}}}}}}<noinclude>
 
}}
 
}}
{{Infobox/Line
+
 
|{{lang|en=Top speed|hu=Csúcssebesség|ru=Основная скорость|ja=最高速度}}
 
|{{{topspeed<noinclude>|21</noinclude>}}}&nbsp;{{lang|en=m/s|ru=м/с}}
 
}}
 
{{Infobox/Line
 
|{{lang|en=Maxmimum speed|pl=Maks. prędkość|hu=Max. sebesség|ru=Максимальная скорость|ja=耐久速度}}
 
|{{{maxspeed<noinclude>|60</noinclude>}}}&nbsp;{{lang|en=m/s|ru=м/с}}
 
}}
 
{{Infobox/Line
 
|{{lang|en=Control type|ru=Вид управления|ja=旋回方式|hu=Irányításmód}}
 
|{{{control<noinclude>|AutomaticSteer</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.
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|electricity|Electricity requirement in {{mark|echu}}/s}}
+
{{Parameter row|retract|Whether the wheel is retractable or not.|{{No}}}}
{{Parameter row|topspeed|Highest speed reached solely under its own speed on level ground in m/s.}}
+
{{Parameter row|brake|The speed in kNm at which the wheel brakes. Shows as <code>No</code> if set to 0.|{{No}}}}
{{Parameter row|maxspeed|Speed in m/s at which the tire breaks; listed in-game as "Maximum Speed"}}
+
{{Parameter row|steering|How many degrees the wheel can turn. Shows as <code>No</code> if set to 0.|{{No}}}}
{{Parameter row|control|AutomaticSteer or TankSteer}}
+
{{Parameter row|speed|The speed the motor can create in m/s.|Not set/Hidden}}
 +
{{Parameter row|elec|Electricity requirement in {{mark|echu}}/s. Hidden if <tt>speed</tt> is not set.}}
 
}}
 
}}
 +
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 09:00, 17 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 Yes Whether the wheel is retractable or not. No
brake Yes The speed in kNm at which the wheel brakes. Shows as No if set to 0. No
steering Yes How many degrees the wheel can turn. Shows as No if set to 0. No
speed Yes The speed the motor can create in m/s. Not set/Hidden
elec No Electricity requirement in ⚡/s. Hidden if speed is not set.