Difference between revisions of "Template:MW version/status"

From GridPACK
Jump to: navigation, search
(two legacys)
 
m (1 revision: Trying again with text/plain changed to CONTENT_FORMAT_TEXT)
 
(No difference)

Latest revision as of 00:19, 2 November 2013

{{#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