Difference between revisions of "Template:Infobox/Version"

From Kerbal Space Program Wiki
Jump to: navigation, search
(! Steam community in Korean)
Line 8: Line 8:
 
|icon width={{{icon width|}}}
 
|icon width={{{icon width|}}}
 
|name={{{name|}}}
 
|name={{{name|}}}
|subtitle={{lang|en=Version|ru=Версия|ja=バージョン|ko=버전|th=รุ่น|es=Versión|pl=Wersja}}
+
|subtitle={{{subtitle|{{#ifexpr:{{Check version/Rev|{{BASEPAGENAME}}}} > 48|{{lang|en=Official release|fr=Version officielle}}|{{lang|en=Beta release|fr=Version bêta}}|{{lang|en=Alpha release|fr=Version alpha}}}}}<!-- OLD SYNTAX : {{#ifexpr:{{lang|en=Version|ru=Версия|ja=バージョン|ko=버전|th=รุ่น|es=Versión|pl=Wersja}} -->
 
|hovertext={{{hovertext|}}}
 
|hovertext={{{hovertext|}}}
 
|lines=
 
|lines=

Revision as of 10:19, 14 May 2015

{{Infobox |file=none |file extra1= |thumb extra1= |file extra2= |thumb extra2= |icon= |icon width= |name= |subtitle={Template:Subtitle


An infobox for version pages.

# Optional Description
name ✓ Yes The exact version number. Default: Base page name
file ✓ Yes A screenshot from that version. Default: File:Image needed.svg
file extra1 ✓ Yes An extra image displayed below the first image Default: Not set
thumb extra1 ✓ Yes An image description displayed below the first extra image Default: Not set
file extra2 ✓ Yes An extra image displayed below the first image Default: Not set
thumb extra2 ✓ Yes An image description displayed below the second extra image Default: Not set
hovertext ✓ Yes The image's hovertext and subtitle. Default: Not set
format ✓ Yes Format of the time. It is recommended to change the format according to the language here. Default: Language depending
released × No The date when the version is released as ISO date: YYYY-MM-DD. Set to no for future releases.
thread ✓ Yes Thread ID of the announcement in the forum. Default: Not set/Hidden
article ✓ Yes Article ID of the announcement in the forum. This can be used instead of the thread ID. Default: Not set/Hidden
title ✓ Yes Title of the announcement in the forum. Default: Forum post
steam ✓ Yes Steam Community announcement ID. Default: Not set/Hidden
steam title ✓ Yes Title of the announcement in the Steam Community. Default: Steam Community
previous × No The previous version number.
next ✓ Yes The next version number. Default: Not set

Date format

This template automatically formats the released date. DO NOT use your own format. It might be recognized, but to keep it clean use the ISO format (YYYY-MM-DD). If the language is not supported it will use the ISO format to avoid ambiguities. It will show the ISO format on this template page and infobox subpages.

Currently supported:

  • English: (M)M/(D)D/YYYY
  • German: DD.MM.YYYY

It is possible with the format parameter to use a custom format. The {{#time:}} is used.

Thread, article and Steam ID

Only the ID is required, which is the highlighted text:

  • Thread ID: http://forum.kerbalspaceprogram.com/threads/53069-Update-0-22-is-now-LIVE! → 53069
  • Article ID: http://forum.kerbalspaceprogram.com/content/274-KSP-Asteroid-Redirect-Mission-is-Officially-Released! → 274
  • Steam ID: http://steamcommunity.com/games/220200/announcements/detail/15697947114021041581569794711402104158