Difference between revisions of "Template:Reference frames"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+documentation; +allow showing paid version if demo version isn't set;)
(!atmosphere handling;)
Line 19: Line 19:
 
| n/a
 
| n/a
 
{{#if: {{{demo|}}}|{{!}} Any}}
 
{{#if: {{{demo|}}}|{{!}} Any}}
{{ReferenceFrameRow|5|{{{demo|}}}|{{{1}}}|{{{8}}}}}
+
{{ReferenceFrameRow|5|{{{demo|}}}|{{{1}}}|{{{8}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|10|{{{demo|}}}|{{{2}}}|{{{9}}}}}
+
{{ReferenceFrameRow|10|{{{demo|}}}|{{{2}}}|{{{9}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|50|{{{demo|}}}|{{{3}}}|{{{10}}}}}
+
{{ReferenceFrameRow|50|{{{demo|}}}|{{{3}}}|{{{10}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|100|{{{demo|}}}|{{{4}}}|{{{11}}}}}
+
{{ReferenceFrameRow|100|{{{demo|}}}|{{{4}}}|{{{11}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|1,000|{{{demo|}}}|{{{5}}}|{{{12}}}}}
+
{{ReferenceFrameRow|1,000|{{{demo|}}}|{{{5}}}|{{{12}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|10,000|{{{demo|}}}|{{{6}}}|{{{13}}}}}
+
{{ReferenceFrameRow|10,000|{{{demo|}}}|{{{6}}}|{{{13}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
{{ReferenceFrameRow|100,000|{{{demo|}}}|{{{7}}}|n/a}}
+
{{ReferenceFrameRow|100,000|{{{demo|}}}|{{{7}}}|n/a|{{{atmosphere-paid|}}}|}}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>It creates a table for the different maximum warp values at specific altitudes above an celestial object. It can also show the Rotational/Inertial transition altitude and values for the 0.13.3 demo. To show values for the demo it is mandatory to add values for the paid version.
 
<noinclude>It creates a table for the different maximum warp values at specific altitudes above an celestial object. It can also show the Rotational/Inertial transition altitude and values for the 0.13.3 demo. To show values for the demo it is mandatory to add values for the paid version.
Line 104: Line 104:
 
|Yes
 
|Yes
 
|Rotational/Inertial transition altitude (demo version)
 
|Rotational/Inertial transition altitude (demo version)
 +
|-
 +
|atmosphere
 +
|Yes
 +
|Atmospheric height in meters. Leave blank if the celestial object doesn't have a atmosphere
 
|}
 
|}
 
  
 
== Examples ==
 
== Examples ==

Revision as of 13:36, 16 February 2013

It creates a table for the different maximum warp values at specific altitudes above an celestial object. It can also show the Rotational/Inertial transition altitude and values for the 0.13.3 demo. To show values for the demo it is mandatory to add values for the paid version.

The values for 1× and 2× are fixed with Any for 1× and demo 2× and n/a for paid 2×.

Parameters

Name/Number Optional Description
1 No Min. altitude for 5× warp (paid version)
2 No Min. altitude for 10× warp (paid version)
3 No Min. altitude for 50× warp (paid version)
4 No Min. altitude for 100× warp (paid version)
5 No Min. altitude for 1,000× warp (paid version)
6 No Min. altitude for 10,000× warp (paid version)
7 No Min. altitude for 100,000× warp (paid version)
8 Yes Min. altitude for 5× warp (demo version)
9 Yes Min. altitude for 10× warp (demo version)
10 Yes Min. altitude for 50× warp (demo version)
11 Yes Min. altitude for 100× warp (demo version)
12 Yes Min. altitude for 1,000× warp (demo version)
13 Yes Min. altitude for 10,000× warp (demo version)
paid Yes Paid version where the values are applying
demo Yes Demo version where the values are applying
trans-paid Yes Rotational/Inertial transition altitude (paid version)
trans-demo Yes Rotational/Inertial transition altitude (demo version)
atmosphere Yes Atmospheric height in meters. Leave blank if the celestial object doesn't have a atmosphere

Examples

{{ReferenceFrames
|3,270,000|3,270,000|6,540,000|13,080,000|26,160,000|52,320,000|65,400,000
|3,270,000|6,540,000|16,350,000|32,700,000|65,400,000|130,800,000
|paid=0.18.2|demo=0.13.3}}

Template:ReferenceFrames

{{ReferenceFrames|3,000|3,000|6,000|12,000|24,000|48,000|60,000}}

Template:ReferenceFrames