Difference between revisions of "Template:Versions"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Sprinkled some white space onto the translations to make the source more readable.)
(Remove temporary CSS workaround. Add known upcoming releases. Use {{LangFallback}} for releases.)
Line 8: Line 8:
 
   | ko = 커발 스페이스 프로그램의 버전
 
   | ko = 커발 스페이스 프로그램의 버전
 
   }}
 
   }}
| bodyclass  = versions
+
| bodyclass  = versions hlist
| listclass  = hlist
 
| belowclass = hlist
 
 
| state      = {{{state|}}}
 
| state      = {{{state|}}}
 
| navbar    = {{{navbar|}}}
 
| navbar    = {{{navbar|}}}
 
| bodystyle      = {{Navbox style|body}}
 
| innerstyle      = {{Navbox style|inner}}
 
| titlestyle      = {{Navbox style|title}}
 
| abovestyle      = {{Navbox style|above}}
 
| belowstyle      = {{Navbox style|below}}
 
| groupstyle      = {{Navbox style|group}}
 
| liststyle      = {{Navbox style|list}}
 
| evenstyle      = {{Navbox style|even}}
 
| oddstyle        = {{Navbox style|odd}}
 
| navbarstyle    = {{Navbox style|navbar}}
 
| navbarfontstyle = {{Navbox style|navbarfont}}
 
  
 
| image      =  
 
| image      =  
 
| above      =  
 
| above      =  
  
| no-group1    = {{lang
+
| group1    = {{lang
 
   | en = Upcoming
 
   | en = Upcoming
 
   | ru = Предстоящие
 
   | ru = Предстоящие
Line 36: Line 22:
 
   | ko = 예정
 
   | ko = 예정
 
   }}
 
   }}
| no-list1      = <!-- I think this might be used to display announced near future versions, but disabled via "no-" prefix for now. --Murph  -->
+
| 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''
 +
-->
 +
* ''1.0.3''
 +
* ''1.1''
 +
<!-- * ''{{lang|
 +
  | en = None currently announced
 +
  }}'' -->
  
 
| group2    = {{lang
 
| group2    = {{lang
Line 43: Line 43:
 
   | ko = 정식
 
   | ko = 정식
 
   }}
 
   }}
| list2      =
+
| list2      = <!-- Counting downwards, newest first -->
* {{if lang link|1.0.2}}
+
* {{LangFallback|1.0.2}}
* {{if lang link|1.0.1}}
+
* {{LangFallback|1.0.1}}
* {{if lang link|1.0}}
+
* {{LangFallback|1.0}}
  
 
| group3    = {{lang
 
| group3    = {{lang
Line 54: Line 54:
 
   | ko = 베타
 
   | ko = 베타
 
   }}
 
   }}
| list3      =
+
| list3      = <!-- Counting downwards, newest first -->
* {{if lang link|0.90.0}}
+
* {{LangFallback|0.90.0}}
  
 
| group4    = {{lang
 
| group4    = {{lang
Line 62: Line 62:
 
   | ko = 알파
 
   | ko = 알파
 
   }}
 
   }}
| list4      =
+
| list4      = <!-- Counting downwards, newest first -->
* {{if lang link|0.25}}
+
* {{LangFallback|0.25}}
* {{if lang link|0.24.2}}
+
* {{LangFallback|0.24.2}}
* {{if lang link|0.24.1}}
+
* {{LangFallback|0.24.1}}
* {{if lang link|0.24}}
+
* {{LangFallback|0.24}}
* {{if lang link|0.23.5}}
+
* {{LangFallback|0.23.5}}
* {{if lang link|0.23}}
+
* {{LangFallback|0.23}}
* {{if lang link|0.22}}
+
* {{LangFallback|0.22}}
* {{if lang link|0.21.1}}
+
* {{LangFallback|0.21.1}}
* {{if lang link|0.21}}
+
* {{LangFallback|0.21}}
* {{if lang link|0.20.2}}
+
* {{LangFallback|0.20.2}}
* {{if lang link|0.20.1}}
+
* {{LangFallback|0.20.1}}
* {{if lang link|0.20}}
+
* {{LangFallback|0.20}}
* {{if lang link|0.19.1}}
+
* {{LangFallback|0.19.1}}
* {{if lang link|0.19}}
+
* {{LangFallback|0.19}}
* {{if lang link|0.18.4}}
+
* {{LangFallback|0.18.4}}
* {{if lang link|0.18.2}}
+
* {{LangFallback|0.18.2}}
* {{if lang link|0.18.1}}
+
* {{LangFallback|0.18.1}}
* {{if lang link|0.18}}
+
* {{LangFallback|0.18}}
* {{if lang link|0.17.1}}
+
* {{LangFallback|0.17.1}}
* {{if lang link|0.17}}
+
* {{LangFallback|0.17}}
* {{if lang link|0.16}}
+
* {{LangFallback|0.16}}
* {{if lang link|0.15.2}}
+
* {{LangFallback|0.15.2}}
* {{if lang link|0.15.1}}
+
* {{LangFallback|0.15.1}}
* {{if lang link|0.15}}
+
* {{LangFallback|0.15}}
* {{if lang link|0.14.4}}
+
* {{LangFallback|0.14.4}}
* {{if lang link|0.14.3}}
+
* {{LangFallback|0.14.3}}
* {{if lang link|0.14.2}}
+
* {{LangFallback|0.14.2}}
* {{if lang link|0.14.1}}
+
* {{LangFallback|0.14.1}}
* {{if lang link|0.14}}
+
* {{LangFallback|0.14}}
* {{if lang link|0.13.2}}
+
* {{LangFallback|0.13.2}}
* {{if lang link|0.13.1}}
+
* {{LangFallback|0.13.1}}
* {{if lang link|0.13}}
+
* {{LangFallback|0.13}}
* {{if lang link|0.12}}
+
* {{LangFallback|0.12}}
* {{if lang link|0.11.1}}
+
* {{LangFallback|0.11.1}}
* {{if lang link|0.11}}
+
* {{LangFallback|0.11}}
* {{if lang link|0.10.1}}
+
* {{LangFallback|0.10.1}}
* {{if lang link|0.10}}
+
* {{LangFallback|0.10}}
* {{if lang link|0.9}}
+
* {{LangFallback|0.9}}
* {{if lang link|0.8.5}}
+
* {{LangFallback|0.8.5}}
* {{if lang link|0.8.4}}
+
* {{LangFallback|0.8.4}}
* {{if lang link|0.8.3}}
+
* {{LangFallback|0.8.3}}
* {{if lang link|0.8.2}}
+
* {{LangFallback|0.8.2}}
* {{if lang link|0.8.1}}
+
* {{LangFallback|0.8.1}}
* {{if lang link|0.8}}
+
* {{LangFallback|0.8}}
* {{if lang link|0.7.3}}
+
* {{LangFallback|0.7.3}}
  
 
| group5    = {{lang
 
| group5    = {{lang
Line 115: Line 115:
 
   | ko = 체험판
 
   | ko = 체험판
 
   }}
 
   }}
| list5      =
+
| list5      = <!-- Counting downwards, newest first -->
* {{if lang link|0.18.3}}
+
* {{LangFallback|0.18.3}}
 
* [[0.13.3|0.13.3 ({{Dict|old}})]]
 
* [[0.13.3|0.13.3 ({{Dict|old}})]]
  

Revision as of 14:42, 11 June 2015

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