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

From Kerbal Space Program Wiki
Jump to: navigation, search
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{{1}}}×
+
| {{formatnum|{{{1}}}}}×
|{{#if: {{{2}}}|{{#ifeq: {{{3}}}|{{{4}}}|{{#ifeq: {{{5}}}|{{{6}}}|colspan="2"{{!}}}}}}}} {{{3}}} {{#ifeq: {{{3}}}|n/a||{{#ifeq: {{{3}}}|Any||m}}}} {{#ifeq: {{{3}}}|{{{5}}}|(above the atmosphere)}}{{#if: {{{2}}}|{{Booland|{{#ifeq: {{{3}}}|{{{4}}}|1}}|{{#ifeq: {{{5}}}|{{{6}}}|1}}||{{!}}{{!}} {{{4}}} {{#ifeq: {{{4}}}|n/a||{{#ifeq: {{{4}}}|Any||m}}}} {{#ifeq: {{{4}}}|{{{6}}}|(above the atmosphere)}}}}}}</includeonly>
+
| {{Formatnum|{{{2}}}}} {{Dict|m}} {{#ifexpr: {{{2}}} <= 0{{Body data|{{{3}}}|atmospheric height}}|({{Reference frames/dict|Above}})}}</includeonly>
<noinclude>One line of [[Template:ReferenceFrames]].
+
<noinclude>One line of {{Tl|Reference frames}} and it uses {{Tl|Reference frames/dict}} and {{Tl|Dict}}.
  
{| class="wikitable"
+
{{Parameter table|parameters=
!#
+
{{Parameter row|1|Factor (number only)}}
!Description
+
{{Parameter row|2|Minimum altitude in meters}}
|-
+
{{Parameter row|3|Name of body}}
|1
+
}}
|Factor (Number only)
+
<!-- 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)). -->
|-
+
 
|2
+
[[Category:Metatemplates]]</noinclude>
|set if in demo available
 
|-
 
|3
 
|paid altitude
 
|-
 
|4
 
|demo altitude
 
|-
 
|5
 
|paid atmospheric height
 
|-
 
|6
 
|demo atmospheric height
 
|}</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