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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
(*updated to 0.90;)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
<noinclude>{{Infobox/Part/preview|</noinclude>
{{Infobox/Line|{{Infobox/Part/Dict|sas available}}|{{#ifeq: {{lc:{{{has|}}}}}|false|{{No}}|{{Yes}}}}}}<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|SAS level}}|{{#ifexpr: {{{level|-10}}} < 0|{{No}}|{{{level|0}}}}}}}<noinclude>}}
  
{{Tl|Infobox/Part}} module for [[SAS]] modules. [[Reaction wheel]]s which don't support SAS should use {{Tl|Infobox/Part/torque}} directly.
+
{{Tl|Infobox/Part}} module for parts which support [[SAS]] modules. [[Reaction wheel]]s and [[command module]]s should use this template at least.
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|has|Whether an SAS module is available. Only if set to <tt>false</tt> it will show “{{No}}” (e.g. for command modules without it).|Not set/{{Yes}}}}
+
{{Parameter row|level|The supported SAS level. If negative shown as '{{No}}'.|default=0}}}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 13:44, 19 December 2014

SAS level No

{{Infobox/Part}} module for parts which support SAS modules. Reaction wheels and command modules should use this template at least.

Name Optional Description Default
level No No'.

}}