「テンプレート:MW version/en」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(Importing a new version from external source)
(1版 をインポートしました)
 
(相違点なし)

2016年7月24日 (日) 00:26時点における最新版


MediaWiki version: X.X
Documentation icon Template documentation

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.

テンプレート引数

This template prefers inline formatting of parameters.

引数説明状態
バージョンversion

表示する MediaWiki のバージョン番号。

既定
自動入力値
string必須
Version 2version2

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省略可能
Commentcomment

If set to and before or and after, places a less-than-or-equal (≤) or greater-than-or-equal (≥) sign before the ''version'' number; otherwise adds the comment to the right of the version number box.

既定
自動入力値
string推奨
SVN revision IDr

An SVN revision ID related to the section this template embedded in.

既定
自動入力値
string非推奨
Gerrit changegerrit change

A Gerrit change number implementing the feature

既定
自動入力値
string省略可能
Compactcompact

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

Template:MW version/list1

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

Maintenance: list1