Template:MW version/status

From GridPACK
Revision as of 21:48, 25 May 2013 by Kghbln (talk) (two legacys)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#switch: {{#if:|}}" | 1.1" | 1.2" | 1.3" | 1.4" | 1.5" | 1.6" | 1.7" | 1.8" | 1.9" | 1.10" | 1.11" | 1.12" | 1.13" | 1.14" | 1.15" | 1.16" | MediaWiki 1.17" | 1.17" | MediaWiki 1.18" | 1.18" = unsupported | MediaWiki 1.19" | 1.19" | MediaWiki 1.20" | 1.20" = legacy | MediaWiki 1.21" | 1.21" = stable | MediaWiki 1.22" | 1.22" | MediaWiki 1.23" | 1.23" | master" | trunk" | PROPOSED" = future |#default = unknown }}

Usage

{{MW version/status|1.21}}

Outputs: {{#switch: {{#if: 1.21 | 1.21 }}" | 1.1" | 1.2" | 1.3" | 1.4" | 1.5" | 1.6" | 1.7" | 1.8" | 1.9" | 1.10" | 1.11" | 1.12" | 1.13" | 1.14" | 1.15" | 1.16" | MediaWiki 1.17" | 1.17" | MediaWiki 1.18" | 1.18" = unsupported | MediaWiki 1.19" | 1.19" | MediaWiki 1.20" | 1.20" = legacy | MediaWiki 1.21" | 1.21" = stable | MediaWiki 1.22" | 1.22" | MediaWiki 1.23" | 1.23" | master" | trunk" | PROPOSED" = future |#default = unknown }}

Possible output values:

  • unsupported
  • legacy
  • stable
  • future
  • unknown