Difference between revisions of "Template:Body data"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Properties: +sci values;)
m (Properties: +splashed and recovery;)
Line 32: Line 32:
 
{{Parameter Row|oxygen|Is oxygen present? (Yes/No)||1}}
 
{{Parameter Row|oxygen|Is oxygen present? (Yes/No)||1}}
 
{{Parameter Row|sci surf|Science multiplier on the surface.}}
 
{{Parameter Row|sci surf|Science multiplier on the surface.}}
 +
{{Parameter Row|sci splashed surf|Science multiplier on the surface splashed.}}
 
{{Parameter Row|sci lower atmo|Science multiplier in the lower atmosphere.}}
 
{{Parameter Row|sci lower atmo|Science multiplier in the lower atmosphere.}}
 
{{Parameter Row|sci upper atmo|Science multiplier in the lower atmosphere. Because currently the multiplier for lower and upper atmosphere are identical, lower atmosphere can usually be used solely.}}
 
{{Parameter Row|sci upper atmo|Science multiplier in the lower atmosphere. Because currently the multiplier for lower and upper atmosphere are identical, lower atmosphere can usually be used solely.}}
Line 38: Line 39:
 
{{Parameter Row|sci outer space|Science multiplier in outer space. Because currently the multiplier for near and outer space are identical, near space can usually be used solely.}}
 
{{Parameter Row|sci outer space|Science multiplier in outer space. Because currently the multiplier for near and outer space are identical, near space can usually be used solely.}}
 
{{Parameter Row|sci border space|Height of the border between near and outer space in meters. This is not supported for all, but is not optional.}}
 
{{Parameter Row|sci border space|Height of the border between near and outer space in meters. This is not supported for all, but is not optional.}}
 +
{{Parameter Row|sci recovery|Science multiplier for recovery.}}
 
}}
 
}}
  

Revision as of 20:51, 13 May 2014

Returns for each celestial body various data about it. It extracts the value from the page named “<body>/Param” (e.g. Duna/Param) which needs to exists for this template to work. There is also a Template:Infobox/Param which is used by {{Infobox/Body}}.

Template:Parameter Table

Properties

The following properties are supported: Template:Parameter Table

There are the following classes available:

Parents which are indented don't need to be set, when the previous non-indented parameter isn't set.

Separate subtemplates

Some special properties can be accessed via a separate sub template. These templates can't be called with the property set like {{BodyData|Kerbin|soi}}.