Difference between revisions of "Template:Reference frames"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed template,)
(*use new metatemplate;)
Line 16: Line 16:
 
| {{#if: {{{demo|}}}|colspan="2"}}| {{ReferenceFrames/Dict|Any}}
 
| {{#if: {{{demo|}}}|colspan="2"}}| {{ReferenceFrames/Dict|Any}}
 
|-
 
|-
{{ReferenceFrameRow|5|{{{demo|}}}|{{{1}}}|{{{8}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|5|{{{1}}}|{{{8|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|10|{{{demo|}}}|{{{2}}}|{{{9}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|10|{{{2}}}|{{{9|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|50|{{{demo|}}}|{{{3}}}|{{{10}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|50|{{{3}}}|{{{10|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|100|{{{demo|}}}|{{{4}}}|{{{11}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|100|{{{4}}}|{{{11|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|1000|{{{demo|}}}|{{{5}}}|{{{12}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|1000|{{{5}}}|{{{12|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|10000|{{{demo|}}}|{{{6}}}|{{{13}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|10000|{{{6}}}|{{{13|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|100000|{{{demo|}}}|{{{7}}}|{{{14}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frame/row|100000|{{{7}}}|{{{14|}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
This template creates a table for the different maximum [[Time warp|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× are fixed with ''Any''.
 
This template creates a table for the different maximum [[Time warp|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× are fixed with ''Any''.
Line 29: Line 29:
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable mw-datatable"
+
{{Parameter table|name=both|parameters=
!Name/Number
+
{{Parameter row|1|Min. altitude for 5× warp (paid version)}}
!Optional
+
{{Parameter row|2|Min. altitude for 10× warp (paid version)}}
!Description
+
{{Parameter row|3|Min. altitude for 50× warp (paid version)}}
|-
+
{{Parameter row|4|Min. altitude for 100× warp (paid version)}}
|1
+
{{Parameter row|5|Min. altitude for 1,000× warp (paid version)}}
|No
+
{{Parameter row|6|Min. altitude for 10,000× warp (paid version)}}
|Min. altitude for 5× warp (paid version)
+
{{Parameter row|7|Min. altitude for 100,000× warp (paid version)}}
|-
+
{{Parameter row|8|Min. altitude for 5× warp (demo version)|Not set}}
|2
+
{{Parameter row|9|Min. altitude for 10× warp (demo version)|Not set}}
|No
+
{{Parameter row|10|Min. altitude for 50× warp (demo version)|Not set}}
|Min. altitude for 10× warp (paid version)
+
{{Parameter row|11|Min. altitude for 100× warp (demo version)|Not set}}
|-
+
{{Parameter row|12|Min. altitude for 1,000× warp (demo version)|Not set}}
|3
+
{{Parameter row|13|Min. altitude for 10,000× warp (demo version)|Not set}}
|No
+
{{Parameter row|14|Min. altitude for 100,000× warp (demo version)|Not set}}
|Min. altitude for 50× warp (paid version)
+
{{Parameter row|paid|Paid version where the values are applying}}
|-
+
{{Parameter row|demo|Demo version where the values are applying|Not set}}
|4
+
{{Parameter row|trans-paid|Rotational/Inertial transition altitude (paid version)|Not set}}
|No
+
{{Parameter row|trans-demo|Rotational/Inertial transition altitude (demo version)|Not set}}
|Min. altitude for 100× warp (paid version)
+
{{Parameter row|name|Name of the celestial body|{{Tl|KSPROOTPAGE}}}}
|-
+
}}
|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)
 
|-
 
|14
 
|Yes
 
|Min. altitude for 100,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 ==
 
== Examples ==

Revision as of 16:03, 22 May 2015

This template 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× are fixed with Any.

To avoid adding the information for each language this templates should be reused and with the suggested subpage name /RefFrame. The Templates help page contains additional information how to implement reusing. All page which use template directly should add the {{Data template used}} note. For example Kerbin/RefFrame can be used in Kerbin and all it's translation via {{:Kerbin/RefFrame}}.

Parameters

#/Name Optional Description Default
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) Not set
9 Yes Min. altitude for 10× warp (demo version) Not set
10 Yes Min. altitude for 50× warp (demo version) Not set
11 Yes Min. altitude for 100× warp (demo version) Not set
12 Yes Min. altitude for 1,000× warp (demo version) Not set
13 Yes Min. altitude for 10,000× warp (demo version) Not set
14 Yes Min. altitude for 100,000× warp (demo version) Not set
paid No Paid version where the values are applying
demo Yes Demo version where the values are applying Not set
trans-paid Yes Rotational/Inertial transition altitude (paid version) Not set
trans-demo Yes Rotational/Inertial transition altitude (demo version) Not set
name Yes Name of the celestial body {{KSPROOTPAGE}}

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

Languages

Following languages are supported:

  • English: Completely
  • Spanish (Español): Completely
  • Russian (Русский): Completely
  • Polish (Polski): Completely
  • Dutch (Nederlands): Most of it (Not {{ReferenceFrames/Dict}})
  • French (Français): Completely
  • German (Deutsch): Most of it
  • Czech (Čeština): Most of it (Not {{ReferenceFrames/Dict}})
  • Chinese (中国大陆): Completely
  • Korean (한국어) : Completely
  • Croatian (Hrvatski) : Completely
  • Portuguese (Português) : Completely
  • Japanese (Japanese) : Completely
  • Hungarian (Magyar) : Completely

This template uses also {{ReferenceFrames/Dict}} for translation.