模板:MW version/layout

来自广财百科
跳到导航 跳到搜索

<languages /> {{#switch:<translate></translate> | = <templatestyles src="MW version/styles.css" />

{{#if: ||}}

<td class="mw-version-versionbox" title="{{#switch:

|and after|and later|+=
 {{{msg-latest-tooltip}}}
|#default=
 {{#switch:{{#switch: {{#if:{{#if:|{{{version2}}}|X.XX}}|{{#if:|{{{version2}}}|X.XX}}}}" 

| pre-1.1.0" | 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" | MediaWiki 1.19" | 1.19" | MediaWiki 1.20" | 1.20" | MediaWiki 1.21" | 1.21" | MediaWiki 1.22" | 1.22" | MediaWiki 1.23" | 1.23" | MediaWiki 1.24" | 1.24" | MediaWiki 1.25" | 1.25" | MediaWiki 1.26" | 1.26" | MediaWiki 1.27" | 1.27" | MediaWiki 1.28" | 1.28" | MediaWiki 1.29" | 1.29" | MediaWiki 1.30" | 1.30" | MediaWiki 1.32" | 1.32" | MediaWiki 1.33" | 1.33" = unsupported | MediaWiki 1.31" | 1.31" | MediaWiki 1.34" | 1.34" = legacy | MediaWiki 1.35" | 1.35" = stable | MediaWiki 1.36" | 1.36" | master" | trunk" | PROPOSED" = future |#default = unknown }}

 |unsupported= <translate nowrap> MediaWiki <tvar|1>{{#if:|{{{version2}}}|{{#if:|{{{version}}}|X.XX}}}}</> is unsupported version</translate>
 |legacy=      <translate nowrap> MediaWiki <tvar|1>{{#if:|{{{version2}}}|{{#if:|{{{version}}}|X.XX}}}}</> is legacy version</translate>
 |stable=      <translate nowrap> MediaWiki <tvar|1>{{#if:|{{{version2}}}|{{#if:|{{{version}}}|X.XX}}}}</> is stable version</translate>
 |future=      <translate nowrap> MediaWiki <tvar|1>{{#if:|{{{version2}}}|{{#if:|{{{version}}}|X.XX}}}}</> is future version</translate>
 |unknown=     <translate nowrap> MediaWiki <tvar|1>{{#if:|{{{version2}}}|{{#if:|{{{version}}}|X.XX}}}}</> is unknown version</translate>
 }}
}}">
{{#switch:
|and before|and earlier|-=<translate> ≤</translate>
|and after|and later|+=<translate> ≥</translate>
}} {{#if: | {{{version}}} | X.X }}{{#if: | – {{{version2}}} }}
{{#if: |


模板:Rev}}{{#if: |


模板:Gerrit search}} {{#switch: |and before|and after|and earlier|and later|-|+|= |#default=
Template:MW version/list1

}}

{{{msg-mw-version}}} {{{comment}}}

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:MW version/layout|noshift=1}}

}}