Template:MW version

From MediaWiki.org
Jump to: navigation, search
MediaWiki version: X.X
[edit] [purge] Template documentation

Contents

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.

Example

MediaWiki version: 1.5

If the paragraph is valid for MediaWiki version 1.5, you should write this.

{{MW version|version=1.5}} →

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.

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.


Language: English  • Español • Français • Polski • Português do Brasil • Tiếng Việt • ‪中文(繁體)‬
The above documentation is transcluded from Template:MW version/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Toolbox