Template:MW version/doc: Difference between revisions
m 1 revision imported |
mNo edit summary |
||
Line 2: | Line 2: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --><includeonly> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --><includeonly> | ||
{{Navbar|Navbar/doc|plain=1|brackets=1|style=float: {{dir|{{pagelang2}}|rtl=left|ltr=right}};}} | {{Navbar|Navbar/doc|plain=1|brackets=1|style=float: {{dir|{{pagelang2}}|rtl=left|ltr=right}};}} | ||
</includeonly> | </includeonly> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 23:48, 14 February 2022
This is a documentation subpage for Template:MW version. It contains usage information, categories and other content that is not part of the original Template page. |
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 |