Difference between revisions of "Template:Release version"

From Runsafe
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{lc: {{{1}}} }} |#default = {{{1}}} }}</includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki on the documentation page -->")
 
(No difference)

Latest revision as of 18:15, 26 August 2014

Template:Documentation header Template:Shortcut Because this template is used on the main page, it must be modified by an administrator or bureaucrat. If you have noticed that the version has changed but this template hasn't been updated, it is best to leave a note on an administrator's talk page or the admin noticeboard.

To update the version number, modify the vardefines at the top of the template.

Usage

Version Displayed Code used
Computer 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:pc}}

}}{{

 #vardefine:type|

}}Template:Version link || {{v}}

Computer server 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:pc-server}}

}}{{

 #vardefine:type|

}}Template:Version link || {{v|server=1}}

Weekly 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:weekly}}

}}{{

 #vardefine:type|

}}Template:Version link || {{v|weekly=1}}

Weekly server 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:weekly-server}}

}}{{

 #vardefine:type|

}}Template:Version link || {{v|weekly=1|server=1}}

Android 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:android}}

}}{{

 #vardefine:type|PE

}}Template:Version link || {{v|android=1}}

Android snapshot 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:android-snap}}

}}{{

 #vardefine:type|PE

}}Template:Version link || {{v|android-snap=1}}

iOS 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:ios}}

}}{{

 #vardefine:type|PE

}}Template:Version link || {{v|ios=1}}

Amazon Fire TV 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:firetv}}

}}{{

 #vardefine:type|PE

}}Template:Version link || {{v|firetv=1}}

PlayStation 3 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:ps3}}

}}{{

 #vardefine:type|ps3

}}Template:Version link || {{v|ps3=1}}

Xbox 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:xbox}}

}}{{

 #vardefine:type|Xbox

}}Template:Version link || {{v|xbox=1}}

Pi 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:pi}}

}}{{

 #vardefine:type|Pi

}}Template:Version link || {{v|pi=1}}

Computer Classic 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:classic}}

}}{{

 #vardefine:type|Classic

}}Template:Version link || {{v|classic=1}}

Computer Classic server 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:classic-server}}

}}{{

 #vardefine:type|Classic

}}Template:Version link || {{v|classic=1|server=1}}

Launcher 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:pc|1.7.10}}{{#vardefine:pc-server|1.7.10}}{{#vardefine:weekly|1.8-pre2}}{{#vardefine:weekly-server|1.8-pre2}}{{#vardefine:android|0.9.5}}{{#vardefine:android-snap|}}{{#vardefine:ios|0.9.5}}{{#vardefine:firetv|0.9.5}}{{#vardefine:xbox|TU16}}{{#vardefine:ps3|1.06}}{{#vardefine:pi|0.1.1}}{{#vardefine:launcher|1.5.2}}{{
 #vardefine:switch|{{#var:launcher}}

}}{{

 #vardefine:type|Launcher

}}Template:Version link || {{v|launcher=1}}

Usage in tables

When used in a table, the template will compare the version you specify with the latest version, and mark the cell green if it is the latest version, and red if it isn't.

To make the template use table mode, enter the desired version number. For example, {{v|1.0.0}}de:Vorlage:Version fr:Modèle:Version it:Template:Versione nl:Sjabloon:Version pl:Szablon:Wersja zh:模板:Version