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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (the translation has been moved to a separate dictionary)
m (Update logic)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Part/Line|{{Infobox/Part/Dict|extends}}|{{#switch: {{lc:{{{extends|n}}}}}
+
</noinclude>{{Infobox/Part/Line|{{Infobox/Part/Dict|extends}}|{{Boolean|{{{extends}}}|{{No}}}}}}<noinclude>
|y|yes|t|true={{Yes}}
 
|n|no|f|false={{No}}
 
|#default={{{extends}}}&nbsp;m}}}}<noinclude>
 
 
}}
 
}}
 +
 
{{Tl|Infobox/Part}} module for [[ladder]]s.
 
{{Tl|Infobox/Part}} module for [[ladder]]s.
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|extends|If the ladder is extendable (y, yes, t or true) or fixed (n, no, f or false). Any other value is interpreted as the height in meters extended.|<tt>n</tt> ({{No}})}}
+
{{Parameter row|extends|If the ladder is extendable or fixed.|{{No}}}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 07:25, 17 September 2024

Extends No

{{Infobox/Part}} module for ladders.

Name Optional Description Default
extends Yes If the ladder is extendable or fixed. No