Difference between revisions of "Template:Body data"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Math templates: *renamed to lowercase;)
(+first implementation of the new explode scheme;)
Line 1: Line 1:
<includeonly>Don't use {{Tl|BodyData}} directly!</includeonly><noinclude>The subpages of this template are returning a value for each celestial body.
+
<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|}}}&#61;|1}}|&#124;|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

Math templates