Difference between revisions of "Template:Reference frames/row"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*if no atmospheric height is returned assume 0 meters;)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
 
| {{formatnum|{{{1}}}}}×
 
| {{formatnum|{{{1}}}}}×
| {{#if: {{{3|}}}|{{#ifeq: {{{2}}}|{{{3}}}|colspan="2"{{!}} }} }} {{Formatnum|{{{2}}} }} {{Dict|m}} {{#ifexpr: {{{2}}} <= 0{{Body data|{{{4}}}|atmospheric height}}|({{ReferenceFrame/Dict|Above}})}} {{Booland|{{{3|}}}|{{#ifeq: {{{2}}}|{{{3}}}|1}}|| {{!}}{{!}} {{Formatnum|{{{3}}} }} {{Dict|m}} {{#ifexpr: {{{3}}} <= 0{{Body data|{{{4}}}|atmospheric height}}|({{ReferenceFrame/Dict|Above}})}} }}</includeonly>
+
| {{Formatnum|{{{2}}}}} {{Dict|m}} {{#ifexpr: {{{2}}} <= 0{{Body data|{{{3}}}|atmospheric height}}|({{Reference frames/dict|Above}})}}</includeonly>
<noinclude>One line of {{Tl|ReferenceFrames}} and it uses {{Tl|ReferenceFrames/Dict}} and {{Tl|Dict}}.
+
<noinclude>One line of {{Tl|Reference frames}} and it uses {{Tl|Reference frames/dict}} and {{Tl|Dict}}.
  
 
{{Parameter table|parameters=
 
{{Parameter table|parameters=
 
{{Parameter row|1|Factor (number only)}}
 
{{Parameter row|1|Factor (number only)}}
{{Parameter row|2|Minimum altitude in most recent paid version in meters}}
+
{{Parameter row|2|Minimum altitude in meters}}
{{Parameter row|3|Minimum altitude in most recent demo version in meters}}
+
{{Parameter row|3|Name of body}}
{{Parameter row|4|Name of body}}
+
}}
}}<!--
+
<!-- The 0 in front of {{Body data|{{{3}}}|atmospheric height}} assures that the right side is never not a number. It's either 0 (when there is no atmospheric height) or a number prefixed by a 0 (e.g. 070000)). -->
 
 
The 0 in front of {{Body data|{{{4}}}|atmospheric height}} assures that the right side is never not a number. It's either 0 (when there is no atmospheric height) or a number prefixed by a 0 (e.g. 070000)).-->
 
  
 
[[Category:Metatemplates]]</noinclude>
 
[[Category:Metatemplates]]</noinclude>

Latest revision as of 15:33, 2 June 2019

One line of {{Reference frames}} and it uses {{Reference frames/dict}} and {{Dict}}.

# Optional Description Default
1 No Factor (number only)
2 No Minimum altitude in meters
3 No Name of body