Difference between revisions of "Template:Body data"
From Kerbal Space Program Wiki
m (→Math templates: *renamed to lowercase;) |
(+first implementation of the new explode scheme;) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#switch: {{{2}}} |
+ | |apoapsis={{BodyData/Apoapsis|{{{1}}}}} | ||
+ | |periapsis={{BodyData/Periapsis|{{{1}}}}} | ||
+ | |parent={{BodyData/Parent|{{{1}}}}} | ||
+ | |radius={{BodyData/Radius|{{{1}}}}} | ||
+ | |mass={{BodyData/Mass|{{{1}}}}} | ||
+ | |pressure={{BodyData/Pressure|{{{1}}}}} | ||
+ | |scale height={{BodyData/ScaleHeight|{{{1}}}}} | ||
+ | |#default={{#explode:{{#explode:{{msgnw::{{{1|}}}/Data}}|{{{2|}}}=|1}}|||0}}}}</includeonly><noinclude>The subpages of this template are returning a value for each celestial body. | ||
== [[:Category:BodyData Base Templates|Base templates]] == | == [[:Category:BodyData Base Templates|Base templates]] == |
Revision as of 19:59, 30 August 2013
The subpages of this template are returning a value for each celestial body.
Base templates
- Apoapsis: {{BodyData/Apoapsis}}
- Periapsis: {{BodyData/Periapsis}}
- Parent: {{BodyData/Parent}}
- Radius: {{BodyData/Radius}}
- Mass: {{BodyData/Mass}}
- Pressure at 0 m altitude (“sea level”): {{BodyData/Pressure}}
- Scale height: {{BodyData/ScaleHeight}}
- Name: {{BodyData/Name}}
Math templates
- Surface gravity: {{BodyData/Gravity}}
- Siderial orbit period: {{BodyData/Sidereal orbit}}