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

From Kerbal Space Program Wiki
Jump to: navigation, search
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{{1}}}×
+
| {{formatnum|{{{1}}}}}×
|{{#if: {{{2}}}|{{#ifeq: {{{3}}}|{{{4}}}|colspan="2"{{!}}}}}} {{{3}}} {{#ifeq: {{{3}}}|n/a||{{#ifeq: {{{3}}}|Any||m}}}}{{#if: {{{2}}}|{{#ifeq: {{{3}}}|{{{4}}}||  
+
| {{Formatnum|{{{2}}}}} {{Dict|m}} {{#ifexpr: {{{2}}} <= 0{{Body data|{{{3}}}|atmospheric height}}|({{Reference frames/dict|Above}})}}</includeonly>
{{!}} {{{4}}} {{#ifeq: {{{4}}}|n/a||{{#ifeq: {{{4}}}|Any||m}}}}}}}}</includeonly>
+
<noinclude>One line of {{Tl|Reference frames}} and it uses {{Tl|Reference frames/dict}} and {{Tl|Dict}}.
<noinclude>One line of [[Template:ReferenceFrames]].
 
  
{| 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
 
|}</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