Template:MW version/th
รุ่นของมีเดียวิกิ | X.X |
![]() | This template uses TemplateStyles: |
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.
Usage
{{MW version|version= [|version2=] [|comment=] [|gerrit change=] }}
This template shows the valid MediaWiki version for the paragraph. It appears on the right side of the window in a bordered text field.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Version | version | The version number of MediaWiki to display. | String | required |
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 “version2” parameter. | String | optional |
Comment | comment | 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 | suggested |
SVN revision ID | r | An SVN revision ID related to the section this template embedded in. | String | deprecated |
Gerrit change | gerrit change | A Gerrit change number implementing the feature. | String | optional |
Compact | compact | If set, hides the “MediaWiki version:” string. | Boolean | optional |
Example
รุ่นของมีเดียวิกิ | 1.36 |
{{MW version|version=1.36}}
รุ่นของมีเดียวิกิ | 1.35 |
{{MW version|version=1.35}}
รุ่นของมีเดียวิกิ | 1.31 |
{{MW version|version=1.31}}
รุ่นของมีเดียวิกิ | 1.15 |
{{MW version|version=1.15}}
รุ่นของมีเดียวิกิ | 1.31 – 1.35 |
{{MW version|version=1.31|version2=1.35}}
รุ่นของมีเดียวิกิ | ≤ 1.31 |
{{MW version|version=1.31|comment=and before}}
รุ่นของมีเดียวิกิ | ≥ 1.15 |
{{MW version|version=1.15|comment=and after}}
รุ่นของมีเดียวิกิ | ≥ 1.15 |
{{MW 1.15|and after}}
รุ่นของมีเดียวิกิ | 1.31 |
text here |
{{MW version|version=1.31|comment=text here}}
รุ่นของมีเดียวิกิ | 1.35 Gerrit change 12345 |
{{MW version|version=1.35|gerrit change=12345}}
รุ่นของมีเดียวิกิ | 1.35 r123 |
{{MW version|version=1.35|r=123}}
See also
- {{MW version-inline}}
- {{MW 1.35}}
- {{MW 1.31}}