テンプレート:MW version/en
MediaWiki version: | X.X |
Purpose
This template shows the valid MediaWiki version for the paragraph. It appears on the right side of the window in a bordered text field.
テンプレート:Template only works on internationalized page
Usage
{{MW version|version= [|version2=] [|comment=] [|gerrit=] }}
This template shows the valid MediaWiki version for the paragraph. It appears on the right side of the window in a bordered text field.
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
バージョン | version | 表示する MediaWiki のバージョン番号。
| string | 必須 |
Version 2 | version2 | To display a range of versions (e.g. 1.20 - 1.25), enter the first version in the "Version" parameter and the second version in the "Version 2" parameter.
| string | 省略可能 |
Comment | comment | If set to
| string | 推奨 |
SVN revision ID | r | An SVN revision ID related to the section this template embedded in.
| string | 非推奨 |
Gerrit change | gerrit change | A Gerrit change number implementing the feature
| string | 省略可能 |
Compact | compact | If set, hides the "MediaWiki version:" string.
| boolean | 省略可能 |
Example
MediaWiki version: | 1.28 |
{{TNT|MW version|version=1.28}}
MediaWiki version: | 1.27 |
{{TNT|MW version|version=1.27}}
MediaWiki version: | 1.20 |
{{TNT|MW version|version=1.20}}
MediaWiki version: | 1.6 |
{{TNT|MW version|version=1.6}}
MediaWiki versions: | 1.20 – 1.27 |
{{TNT|MW version|version=1.20|version2=1.27}}
MediaWiki version: | ≤ 1.20 |
{{TNT|MW version|version=1.20|comment=and before}}
MediaWiki version: | ≥ 1.6 |
{{TNT|MW version|version=1.6|comment=and after}}
テンプレート:MW 1.6
{{MW 1.6|and after}}
MediaWiki version: | 1.20
|
text here |
{{TNT|MW version|version=1.20|comment=text here}}
MediaWiki version: | 1.27 Gerrit change 12345 |
{{TNT|MW version|version=1.27|gerrit change=12345}}
MediaWiki version: | 1.27 r123 |
{{TNT|MW version|version=1.27|r=123}}
See also
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
Maintenance: list1