Template:MW versione

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:MW version and the translation is 33% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Tiếng Việt • ‎dansk • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português do Brasil • ‎русский • ‎українська • ‎العربية • ‎বাংলা • ‎中文 • ‎日本語 • ‎한국어
MediaWiki versione: X.X
Template documentation

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=] }}

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Versionversion

The version number of MediaWiki 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 "Version 2" parameter.

Stringoptional
Commentcomment

If set to <code>and before</code> or <code>and after</code>, places a less-than-or-equal (&le;) or greater-than-or-equal (&ge;) sign before the ''version'' number; otherwise adds the comment to the right of the version number box.

Stringsuggested
SVN revision IDr

An SVN revision ID related to the section this template embedded in.

Stringdeprecated
Gerrit changegerrit change

A Gerrit change number implementing the feature

Stringoptional
Compactcompact

If set, hides the "MediaWiki version:" string.

Booleanoptional

Example

MediaWiki versione: 1.34

{{MW version|version=1.34}}

MediaWiki versione: 1.33

{{MW version|version=1.33}}

MediaWiki versione: 1.32

{{MW version|version=1.32}}

MediaWiki versione: 1.6

{{MW version|version=1.6}}

MediaWiki versiones: 1.32 – 1.33

{{MW version|version=1.32|version2=1.33}}

MediaWiki versione: 1.32

{{MW version|version=1.32|comment=and before}}

MediaWiki versione: 1.6

{{MW version|version=1.6|comment=and after}}

MediaWiki versione: 1.6

{{MW 1.6|and after}}

Template:MW version/list1

MediaWiki versione: 1.32 text here

{{MW version|version=1.32|comment=text here}}

MediaWiki versione: 1.33
Gerrit change 12345

{{MW version|version=1.33|gerrit change=12345}}

MediaWiki versione: 1.33
r123

{{MW version|version=1.33|r=123}}

See also

Maintenance: list1