Difference between revisions of "Template:Reference frames"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (spacing)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<includeonly>{| class="wikitable"
 
<includeonly>{| class="wikitable"
{{#if: {{{paid|}}}|
+
! {{Reference frames/dict|Warp}}
!
+
! {{Reference frames/dict|Altitude}}
! {{lang|en=Paid|es=Pagado|nl=Spel|fr=Officiel|pl=Płatna|ru=Платная|hr=plaćena|de=Gekauft|zh-cn=完整|ko=유료|ja=製品}} ({{version|{{{paid}}}|}})
 
{{#if: {{{demo|}}}|! {{lang|en=Demo|nl=Demo|fr=Démo|pl=Demo|ru=Демо|hr=Demo|de=Demo|zh-cn=Demo|ko=데모|pt=Demo|デモ}} ({{version|{{{demo}}}|}})}}}}
 
|-
 
{{#if: {{{trans-paid|}}}|
 
! {{lang|en=Rotational/Inertial transition|es=rotacional/inercial transición|fr=Transition rotative/inertielle|pl=Układ Rotacyjny/[[w:pl:Układ_inercjalny|Inercjalny]]|ru=Вращательный/Инерционный переход|hr=Rotacijski/inercijski prijelaz|cs=Rotační/inerciální přechod|zh-cn=转动/惯性系转换|ko=회전/관성계전환|pt=Transição rotacional/inerte|ja=回転/慣性系変換}}
 
{{!}} {{formatnum|{{{trans-paid}}}}} {{Dict|m}}
 
{{#if: {{{demo|}}}|{{!}} {{formatnum|{{{trans-demo}}}}} {{Dict|m}}}}}}
 
|-
 
! [[Time warp{{if lang}}|{{lang|en=Warp|es=Warp|pl=Przysp. czasu|ru=Время|hr=Vremensko ubrzanje|zh-cn=时间加速|ko=시간 배속|pt=Aceleração do tempo|ja=時間加速}}]]
 
! {{#if: {{{demo|}}}|colspan="2"}}| {{lang|en=Minimum Altitude|es=Altitud mínima|nl=Minimumhoogte|fr=Altitude minimum|it=Altitudine minima|pl=Minimalna wysokość|ru=Минимальная высота|hr=Minimalna visina|de=Minimale Höhe|cs=Minimální výška|zh-cn=最低海拔|ko=최저 고도|pt=Altitude Mínima|ja=最低高度}}
 
 
|-
 
|-
 
| 1×
 
| 1×
| {{#if: {{{demo|}}}|colspan="2"}}| {{ReferenceFrames/Dict|Any}}
+
| {{Reference frames/dict|Any}}
 
|-
 
|-
{{ReferenceFrameRow|5|{{{demo|}}}|{{{1}}}|{{{8}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|5|{{{1}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|10|{{{demo|}}}|{{{2}}}|{{{9}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|10|{{{2}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|50|{{{demo|}}}|{{{3}}}|{{{10}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|50|{{{3}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|100|{{{demo|}}}|{{{4}}}|{{{11}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|100|{{{4}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|1000|{{{demo|}}}|{{{5}}}|{{{12}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|1000|{{{5}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|10000|{{{demo|}}}|{{{6}}}|{{{13}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|10000|{{{6}}}|{{#if: {{{name|}}}|{{{name}}}|{{KSPROOTPAGE}}}}}}
{{ReferenceFrameRow|100000|{{{demo|}}}|{{{7}}}|{{{14}}}|{{{atmosphere-paid|}}}|{{{atmosphere-demo|}}}}}
+
{{Reference frames/row|100000|{{{7}}}|{{#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]] values at specific altitudes above an celestial object. The values for 1× are fixed with ''Any''.
  
{{Data Template|RefFrame|Kerbin}}
+
{{Data template|RefFrame|Kerbin}}
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable mw-datatable"
+
{{Parameter table|name=both|parameters=
!Name/Number
+
{{Parameter row|1|Min. altitude for 5× warp}}
!Optional
+
{{Parameter row|2|Min. altitude for 10× warp}}
!Description
+
{{Parameter row|3|Min. altitude for 50× warp}}
|-
+
{{Parameter row|4|Min. altitude for 100× warp}}
|1
+
{{Parameter row|5|Min. altitude for 1 000× warp}}
|No
+
{{Parameter row|6|Min. altitude for 10 000× warp}}
|Min. altitude for 5× warp (paid version)
+
{{Parameter row|7|Min. altitude for 100 000× warp}}
|-
+
{{Parameter row|name|Name of the celestial body|{{Tl|KSPROOTPAGE}}}}
|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)
 
|-
 
|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 ==
<pre>{{ReferenceFrames
+
<pre>{{Reference frames|3270000|3270000|6540000|13080000|26160000|52320000|65400000}}</pre>
|3,270,000|3,270,000|6,540,000|13,080,000|26,160,000|52,320,000|65,400,000
+
{{Reference frames|3270000|3270000|6540000|13080000|26160000|52320000|65400000}}
|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}}</pre>
 
{{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}}
 
  
<pre>{{ReferenceFrames|3,000|3,000|6,000|12,000|24,000|48,000|60,000}}</pre>
+
<pre>{{Reference frames|3000|3000|6000|12000|24000|48000|60000}}</pre>
{{ReferenceFrames|3,000|3,000|6,000|12,000|24,000|48,000|60,000}}
+
{{Reference frames|3000|3000|6000|12000|24000|48000|60000}}
  
 
== Languages ==
 
== Languages ==
 +
This template uses {{Tl|Reference frames/dict}} for translation.
 +
 
Following languages are supported:
 
Following languages are supported:
 
* English: Completely
 
* English: Completely
 +
* German (Deutsch): Completely
 
* Spanish (Español): Completely
 
* Spanish (Español): Completely
 +
* French (Français): Completely
 +
* Croatian (Hrvatski): Completely
 +
* Hungarian (Magyar): Completely
 +
* Italian (Italiano): Completely
 +
* Japanese (日本語): Completely
 +
* Korean (한국어): Completely
 +
* Dutch (Nederlands): Completely
 +
* Polish (Polski): Completely
 +
* Portuguese (Português): Completely
 
* Russian (Русский): Completely
 
* Russian (Русский): Completely
* Polish (Polski): Completely
 
* Dutch (Nederlands): Most of it (Not {{Tl|ReferenceFrames/Dict}})
 
* French (Français): Completely
 
* German (Deutsch): Most of it
 
* Czech (Čeština): Most of it (Not {{Tl|ReferenceFrames/Dict}})
 
 
* Chinese (中国大陆): Completely
 
* Chinese (中国大陆): Completely
* Korean (한국어) : Completely
 
* Croatian (Hrvatski) : Completely
 
* Portuguese (Português) : Completely
 
* Japanese (Japanese) : Completely
 
This template uses also {{Tl|ReferenceFrames/Dict}} for translation.
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 00:45, 5 October 2020

This template creates a table for the different maximum Time warp values at specific altitudes above an celestial object. 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
2 No Min. altitude for 10× warp
3 No Min. altitude for 50× warp
4 No Min. altitude for 100× warp
5 No Min. altitude for 1 000× warp
6 No Min. altitude for 10 000× warp
7 No Min. altitude for 100 000× warp
name Yes Name of the celestial body {{KSPROOTPAGE}}

Examples

{{Reference frames|3270000|3270000|6540000|13080000|26160000|52320000|65400000}}
Time warp Minimum Altitude
Any
5× 3 270 000 m Expression error: Unrecognized punctuation character "[".
10× 3 270 000 m Expression error: Unrecognized punctuation character "[".
50× 6 540 000 m Expression error: Unrecognized punctuation character "[".
100× 13 080 000 m Expression error: Unrecognized punctuation character "[".
1 000× 26 160 000 m Expression error: Unrecognized punctuation character "[".
10 000× 52 320 000 m Expression error: Unrecognized punctuation character "[".
100 000× 65 400 000 m Expression error: Unrecognized punctuation character "[".
{{Reference frames|3000|3000|6000|12000|24000|48000|60000}}
Time warp Minimum Altitude
Any
5× 3 000 m Expression error: Unrecognized punctuation character "[".
10× 3 000 m Expression error: Unrecognized punctuation character "[".
50× 6 000 m Expression error: Unrecognized punctuation character "[".
100× 12 000 m Expression error: Unrecognized punctuation character "[".
1 000× 24 000 m Expression error: Unrecognized punctuation character "[".
10 000× 48 000 m Expression error: Unrecognized punctuation character "[".
100 000× 60 000 m Expression error: Unrecognized punctuation character "[".

Languages

This template uses {{Reference frames/dict}} for translation.

Following languages are supported:

  • English: Completely
  • German (Deutsch): Completely
  • Spanish (Español): Completely
  • French (Français): Completely
  • Croatian (Hrvatski): Completely
  • Hungarian (Magyar): Completely
  • Italian (Italiano): Completely
  • Japanese (日本語): Completely
  • Korean (한국어): Completely
  • Dutch (Nederlands): Completely
  • Polish (Polski): Completely
  • Portuguese (Português): Completely
  • Russian (Русский): Completely
  • Chinese (中国大陆): Completely