Difference between revisions of "Template:Versions"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Replace parser stuff with {{\sandbox}})
m (Make navboxes uniform)
 
(54 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{Navbox{{\sandbox}}
+
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| name       = Versions
+
| name = Versions{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| title     = {{if lang link|Version history|en=Kerbal Space Program versions|ru=версии KSP|fr=Versions de Kerbal Space Program|ja=Kerbal Space Program のバージョン|ko=커발 스페이스 프로그램의 버전}}
+
| state = {{{state|}}}
| bodyclass  = versions
+
| title = {{if lang link|Version history
| listclass  = hlist
+
  | en = Kerbal Space Program versions
| belowclass = hlist
+
  | de = Kerbal Space Program Versionen
| state      = {{{state|plain}}}
+
  | fr = Versions de Kerbal Space Program
| navbar    = {{{navbar|plain}}}
+
  | ja = Kerbal Space Program のバージョン
 +
  | ko = 커발 스페이스 프로그램의 버전
 +
  | nl = Kerbal Space Program versies
 +
  | ru = версии KSP
 +
}}
 +
| bodyclass = versions hlist
  
| image      =  
+
| group1 = {{lang
| above      =  
+
  | en = Upcoming
 +
  | de = Bevorstehende
 +
  | fr = À venir
 +
  | ja = 更新予定
 +
  | ko = 예정
 +
  | nl = Aankomende
 +
  | ru = Предстоящие
 +
}}
 +
| list1 = <!--
 +
    Near-future versions announced (officially mentioned) by Squad.
 +
    Usually just the next patch and/or major version.
 +
    Never far into the future, never with low certainty, never pure speculation.
 +
    Counting upwards here, for next expected release first.
 +
    Don't link unless/until there is a page to link to.
 +
    Don't create the page until there is something of substance to say,
 +
    which can be referenced to something said officially by Squad.
 +
    If no announced releases, avoid the section dropping out by using: ''None currently announced''
 +
-->
 +
* ''{{lang
 +
  | en = None currently announced
 +
  | de = Keines der derzeit angekündigt
 +
  | fr = Aucune annonce actuellement
 +
  | nl = Momenteel geen aangekondigd
 +
}}''
  
| bodystyle  = background: #fdfdfd; width: 100%; vertical-align: middle;
+
| group2 = {{lang
| titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center;
+
  | en = Official release
| abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;
+
  | de = Offizielle Veröffentlichungen
| belowstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;
+
  | fr = Versions officielles
| groupstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; white-space: nowrap; text-align: right;
+
  | ja = 公式見解
| liststyle  = background: transparent; text-align: left;
+
  | ko = 정식
| oddstyle  = background: transparent;
+
  | nl = Officiële versie
| evenstyle  = background: #f7f7f7;
+
}}
 +
| list2 = <!-- Counting downwards, newest first -->
 +
* {{LangFallback|1.12.5}}
 +
* {{LangFallback|1.12.4}}
 +
* {{LangFallback|1.12.3}}
 +
* {{LangFallback|1.12.2}}
 +
* {{LangFallback|1.12.1}}
 +
* {{LangFallback|1.12}}
 +
* {{LangFallback|1.11.2}}
 +
* {{LangFallback|1.11.1}}
 +
* {{LangFallback|1.11}}
 +
* {{LangFallback|1.10.1}}
 +
* {{LangFallback|1.10}}
 +
* {{LangFallback|1.9.1}}
 +
* {{LangFallback|1.9}}
 +
* {{LangFallback|1.8.1}}
 +
* {{LangFallback|1.8}}
 +
* {{LangFallback|1.7.3}}
 +
* {{LangFallback|1.7.2}}
 +
* {{LangFallback|1.7.1}}
 +
* {{LangFallback|1.7}}
 +
* {{LangFallback|1.6.1}}
 +
* {{LangFallback|1.6}}
 +
* {{LangFallback|1.5.1}}
 +
* {{LangFallback|1.5}}
 +
* {{LangFallback|1.4.5}}
 +
* {{LangFallback|1.4.4}}
 +
* {{LangFallback|1.4.3}}
 +
* {{LangFallback|1.4.2}}
 +
* {{LangFallback|1.4.1}}
 +
* {{LangFallback|1.4}}
 +
* {{LangFallback|1.3.1}}
 +
* {{LangFallback|1.3}}
 +
* {{LangFallback|1.2.2}}
 +
* {{LangFallback|1.2.1}}
 +
* {{LangFallback|1.2}}
 +
* {{LangFallback|1.1.3}}
 +
* {{LangFallback|1.1.2}}
 +
* {{LangFallback|1.1.1}}
 +
* {{LangFallback|1.1}}
 +
* {{LangFallback|1.0.5}}
 +
* {{LangFallback|1.0.4}}
 +
* {{LangFallback|1.0.3}}
 +
* {{LangFallback|1.0.2}}
 +
* {{LangFallback|1.0.1}}
 +
* {{LangFallback|1.0}}
  
| no-group1    = {{lang|en=Upcoming|ru=Предстоящие|ja=更新予定|fr=À venir|ko=예정}}
+
| group3 = {{lang
| no-list1      = I think this might be used to display announced near future versions, but disabled via "no-" prefix for now. --Murph
+
  | en = Beta
 +
  | de = Beta
 +
  | fr = Bêta
 +
  | ja = ベータ
 +
  | ko = 베타
 +
  | nl = Bèta
 +
}}
 +
| list3 = <!-- Counting downwards, newest first -->
 +
* {{LangFallback|0.90.0}}
  
| group2    = {{lang|en=Official release|fr=Versions officielles|ko=정식}}
+
| group4 = {{lang
| list2      =
+
  | en = Alpha
* {{if lang link|1.0.2}}
+
  | de = Alpha
* {{if lang link|1.0.1}}
+
  | fr = Alpha
* {{if lang link|1.0}}
+
  | ja = アルファ
 +
  | ko = 알파
 +
  | nl = Alfa
 +
}}
 +
| list4 = <!-- Counting downwards, newest first -->
 +
* {{LangFallback|0.25}}
 +
* {{LangFallback|0.24.2}}
 +
* {{LangFallback|0.24.1}}
 +
* {{LangFallback|0.24}}
 +
* {{LangFallback|0.23.5}}
 +
* {{LangFallback|0.23}}
 +
* {{LangFallback|0.22}}
 +
* {{LangFallback|0.21.1}}
 +
* {{LangFallback|0.21}}
 +
* {{LangFallback|0.20.2}}
 +
* {{LangFallback|0.20.1}}
 +
* {{LangFallback|0.20}}
 +
* {{LangFallback|0.19.1}}
 +
* {{LangFallback|0.19}}
 +
* {{LangFallback|0.18.4}}
 +
* {{LangFallback|0.18.3}}
 +
* {{LangFallback|0.18.2}}
 +
* {{LangFallback|0.18.1}}
 +
* {{LangFallback|0.18}}
 +
* {{LangFallback|0.17.1}}
 +
* {{LangFallback|0.17}}
 +
* {{LangFallback|0.16}}
 +
* {{LangFallback|0.15.2}}
 +
* {{LangFallback|0.15.1}}
 +
* {{LangFallback|0.15}}
 +
* {{LangFallback|0.14.4}}
 +
* {{LangFallback|0.14.3}}
 +
* {{LangFallback|0.14.2}}
 +
* {{LangFallback|0.14.1}}
 +
* {{LangFallback|0.14}}
  
| group3    = {{lang|en=Beta|fr=Bêta|ja=ベータ|ko=베타}}
+
| group5 = {{lang
| list3      =
+
  | en = Alpha (Free versions)
* {{if lang link|0.90.0}}
+
  | de = Alpha (Freie Versionen)
 +
  | fr = Alpha (Versions gratuites)
 +
  | ja = アルファ (無料版)
 +
  | ko = 알파 (무료 버전)
 +
  | nl = Alfa (Gratis versies)
 +
}}
 +
| list5 = <!-- Counting downwards, newest first -->
 +
* {{LangFallback|0.13.3}}
 +
* {{LangFallback|0.13.2}}
 +
* {{LangFallback|0.13.1}}
 +
* {{LangFallback|0.13}}
 +
* {{LangFallback|0.12}}
 +
* {{LangFallback|0.11.1}}
 +
* {{LangFallback|0.11}}
 +
* {{LangFallback|0.10.1}}
 +
* {{LangFallback|0.10}}
 +
* {{LangFallback|0.9}}
 +
* {{LangFallback|0.8.5}}
 +
* {{LangFallback|0.8.4}}
 +
* {{LangFallback|0.8.3}}
 +
* {{LangFallback|0.8.2}}
 +
* {{LangFallback|0.8.1}}
 +
* {{LangFallback|0.8}}
 +
* {{LangFallback|0.7.3}}
  
| group4    = {{lang|en=Alpha|ja=アルファ|ko=알파}}
+
| group6 = {{lang
| list4      =
+
  | en = Demo
* {{if lang link|0.25}}
+
  | de = Demo
* {{if lang link|0.24.2}}
+
  | fr = Démo
* {{if lang link|0.24.1}}
+
  | ja = デモ
* {{if lang link|0.24}}
+
  | ko = 체험판
* {{if lang link|0.23.5}}
+
  | nl = Demo
* {{if lang link|0.23}}
+
}}
* {{if lang link|0.22}}
+
| list6 = <!-- Counting downwards, newest first -->
* {{if lang link|0.21.1}}
+
* {{LangFallback|1.3.1}}
* {{if lang link|0.21}}
+
* [[1.0|1.0 ({{Dict|old}})]]
* {{if lang link|0.20.2}}
+
* [[0.18.3|0.18.3 ({{Dict|old}})]]
* {{if lang link|0.20.1}}
 
* {{if lang link|0.20}}
 
* {{if lang link|0.19.1}}
 
* {{if lang link|0.19}}
 
* {{if lang link|0.18.4}}
 
* {{if lang link|0.18.2}}
 
* {{if lang link|0.18.1}}
 
* {{if lang link|0.18}}
 
* {{if lang link|0.17.1}}
 
* {{if lang link|0.17}}
 
* {{if lang link|0.16}}
 
* {{if lang link|0.15.2}}
 
* {{if lang link|0.15.1}}
 
* {{if lang link|0.15}}
 
* {{if lang link|0.14.4}}
 
* {{if lang link|0.14.3}}
 
* {{if lang link|0.14.2}}
 
* {{if lang link|0.14.1}}
 
* {{if lang link|0.14}}
 
* {{if lang link|0.13.2}}
 
* {{if lang link|0.13.1}}
 
* {{if lang link|0.13}}
 
* {{if lang link|0.12}}
 
* {{if lang link|0.11.1}}
 
* {{if lang link|0.11}}
 
* {{if lang link|0.10.1}}
 
* {{if lang link|0.10}}
 
* {{if lang link|0.9}}
 
* {{if lang link|0.8.5}}
 
* {{if lang link|0.8.4}}
 
* {{if lang link|0.8.3}}
 
* {{if lang link|0.8.2}}
 
* {{if lang link|0.8.1}}
 
* {{if lang link|0.8}}
 
* {{if lang link|0.7.3}}
 
 
 
| group5    = {{lang|en=Demo|fr=Démo|ja=デモ|ko=체험판}}
 
| list5      =
 
* {{if lang link|0.18.3}}
 
 
* [[0.13.3|0.13.3 ({{Dict|old}})]]
 
* [[0.13.3|0.13.3 ({{Dict|old}})]]
  
| below     =
+
| below =
* {{if lang link|Version history|de=Versionsgeschichte|ru=История версий|fr=Historique des Versions|ja=バージョン履歴|ko=개발 연혁}}
+
* {{if lang link|Version history
* {{if lang link|Planned features|ru=планируемые новшества|fr=Fonctionnalités prévues|ko=개발 예정인 항목}}
+
  | de = Versionsgeschichte
 +
  | fr = Historique des Versions
 +
  | ja = バージョン履歴
 +
  | ko = 개발 연혁
 +
  | nl = Versies historiek
 +
  | ru = История версий
 +
}}
 +
* {{if lang link|Planned features
 +
  | fr = Fonctionnalités prévues
 +
  | ko = 개발 예정인 항목
 +
  | nl = Geplande functies
 +
  | ru = планируемые новшества
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Documentation}}
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:29, 22 September 2024

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Versions

Usage

Add {{Versions}} at the bottom of an article that is related to a KSP version.

Purpose

The purpose of the {{Versions}} template is to provide a structure to ease navigation between the many KSP versions available. Feel free to restructure it to add further clarity.

Collapsible options

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Versions |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Versions |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.

See also