Jump to content

Template:Software version/doc

From mediawiki.org

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Software version

This template shows the valid versions for the specified software for the paragraph. It appears on the right side of the window in a bordered text field.

Template parameters

ParameterDescriptionTypeStatus
Softwaresoftware

The name of the software.

Example
PHP
Stringrequired
Versionversion

The version number to display.

Stringrequired
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 “version2” parameter.

Stringoptional
Version statusversion-status

The status of the first version.

Suggested values
unsupported legacy stable future unknown
Default
unknown
Stringsuggested
Version 2 statusversion2-status

The status of the second version.

Suggested values
unsupported legacy stable future unknown
Default
unknown
Stringoptional
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.

Stringsuggested
Compactcompact

If set, hides the software name.

Booleanoptional