Difference between revisions of "Template:Versions"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add test cases sandbox hook to name)
m (Sprinkled some white space onto the translations to make the source more readable.)
Line 1: Line 1:
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
| name      = Versions{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
| 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=커발 스페이스 프로그램의 버전}}
+
| title      = {{if lang link|Version history
 +
  | en = Kerbal Space Program versions
 +
  | ru = версии KSP
 +
  | fr = Versions de Kerbal Space Program
 +
  | ja = Kerbal Space Program のバージョン
 +
  | ko = 커발 스페이스 프로그램의 버전
 +
  }}
 
| bodyclass  = versions
 
| bodyclass  = versions
 
| listclass  = hlist
 
| listclass  = hlist
Line 23: Line 29:
 
| above      =  
 
| above      =  
  
| no-group1    = {{lang|en=Upcoming|ru=Предстоящие|ja=更新予定|fr=À venir|ko=예정}}
+
| no-group1    = {{lang
| no-list1      = I think this might be used to display announced near future versions, but disabled via "no-" prefix for now.  --Murph
+
  | en = Upcoming
 +
  | ru = Предстоящие
 +
  | ja = 更新予定
 +
  | fr = À venir
 +
  | ko = 예정
 +
  }}
 +
| no-list1      = <!-- I think this might be used to display announced near future versions, but disabled via "no-" prefix for now.  --Murph -->
  
| group2    = {{lang|en=Official release|fr=Versions officielles|ko=정식}}
+
| group2    = {{lang
 +
  | en = Official release
 +
  | fr = Versions officielles
 +
  | ko = 정식
 +
  }}
 
| list2      =
 
| list2      =
 
* {{if lang link|1.0.2}}
 
* {{if lang link|1.0.2}}
Line 32: Line 48:
 
* {{if lang link|1.0}}
 
* {{if lang link|1.0}}
  
| group3    = {{lang|en=Beta|fr=Bêta|ja=ベータ|ko=베타}}
+
| group3    = {{lang
 +
  | en = Beta
 +
  | fr = Bêta
 +
  | ja = ベータ
 +
  | ko = 베타
 +
  }}
 
| list3      =
 
| list3      =
 
* {{if lang link|0.90.0}}
 
* {{if lang link|0.90.0}}
  
| group4    = {{lang|en=Alpha|ja=アルファ|ko=알파}}
+
| group4    = {{lang
 +
  | en = Alpha
 +
  | ja = アルファ
 +
  | ko = 알파
 +
  }}
 
| list4      =
 
| list4      =
 
* {{if lang link|0.25}}
 
* {{if lang link|0.25}}
Line 84: Line 109:
 
* {{if lang link|0.7.3}}
 
* {{if lang link|0.7.3}}
  
| group5    = {{lang|en=Demo|fr=Démo|ja=デモ|ko=체험판}}
+
| group5    = {{lang
 +
  | en = Demo
 +
  | fr = Démo
 +
  | ja = デモ
 +
  | ko = 체험판
 +
  }}
 
| list5      =
 
| list5      =
 
* {{if lang link|0.18.3}}
 
* {{if lang link|0.18.3}}
Line 90: Line 120:
  
 
| 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
 +
  | ru = История версий
 +
  | fr = Historique des Versions
 +
  | ja = バージョン履歴
 +
  | ko = 개발 연혁
 +
  }}
 +
* {{if lang link|Planned features
 +
  | ru = планируемые новшества
 +
  | fr = Fonctionnalités prévues
 +
  | ko = 개발 예정인 항목
 +
  }}
 
}}<noinclude>
 
}}<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:27, 9 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