Template:MW version/doc
From MediaWiki.org
| This is a documentation subpage for Template:MW version (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Contents |
[edit] 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.
[edit] Example
| MediaWiki version: | 1.5 |
If the paragraph is valid for MediaWiki version 1.5, you should write this.
{{MW version|version=1.5}} →
[edit] Usage
{{MW version|version=version number[|version2=higher number of version range][|color=border_color][|comment='and after'/'and before']}}
- version - the version number of MediaWiki.
- version2 - if specifying a range of versions, the higher of the two versions.
- color - (optional) the color of the border.
- comment - (optional) 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.
[edit] Technical information
This template is used by the MW 1.x template family to indicate a concrete MediaWiki version. For example, the {{MW 1.9}} template uses this template with the parameters version=1.9 and color=#d187ff.