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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!torque drain is optional;)
m (*use None instead of No;)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox/Part|name={{{name|}}}|role={{lang|en=Attitude Autopilot|pl=Autopilot Stabilizujący}}|class=|file={{{file|}}}|size={{{size|}}}|size2={{{size2|}}}|costs={{{costs}}}|mass={{{mass}}}|drag={{{drag}}}|temp={{{temp}}}|tolerance={{{tolerance}}}|manufacturer={{{manufacturer|}}}|since={{{since}}}|part={{{part}}}|parent=Command|additional=<ul><li>{{Infobox/Part/Dict|sas available}}</li></ul>|more={{if||{{{torque|}}}|
+
<noinclude>{{Infobox/Part/preview|</noinclude>
{{Infobox/Part/Torque|{{{torque}}}|{{{torque drain|}}}|{{{pitch torque|}}}|{{{yaw torque|}}}|{{{roll torque|}}}}}}}}}</includeonly><noinclude>{{Infobox/Part/SAS
+
{{Infobox/Line|{{Infobox/Part/Dict|SAS level}}|{{#ifexpr: {{{level|-10}}} < 0|×&nbsp;{{Dict|None}}|{{{level|0}}}}}}}<noinclude>}}
|name=Avionics Package
 
|file=Avionicspackage.png
 
|manufacturer=C7
 
|costs=2300
 
|mass=0.08
 
|drag=0.2
 
|temp=3400
 
|tolerance=9
 
|since=0.15
 
|part=avionicsNoseCone
 
}}
 
  
{{Tl|Infobox/Part}} implementation for [[SAS]] modules.
+
{{Tl|Infobox/Part}} module for parts which support [[SAS]] modules. [[Reaction wheel]]s and [[command module]]s should use this template at least.
  
{{Infobox/Part/Sub|parameters=
+
{{Parameter table|name=text|parameters=
{{ParameterRow|torque|Maximum SAS torque|Not set/Hidden}}
+
{{Parameter row|level|The supported SAS level. If negative shown as '×&nbsp;None'.|default=0}}
{{ParameterRow|pitch torque|Maxmimum pitch torque|<tt>{{{torque}}}</tt>}}
+
}}
{{ParameterRow|yaw torque|Maxmimum yaw torque|<tt>{{{torque}}}</tt>}}
+
{{Subcategory|modules}}</noinclude>
{{ParameterRow|roll torque|Maxmimum roll torque|<tt>{{{torque}}}</tt>}}
 
{{ParameterRow|torque drain|The amount of power drained by the reaction wheels|10 % of the <tt>{{{torque}}}</tt>}}
 
}}</noinclude>
 

Latest revision as of 16:00, 19 December 2014

SAS level × None

{{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 The supported SAS level. If negative shown as '× None'.