Predefinição:Versão do MW
Propósito
Esta predefinição exibe a versão válida do MediaWiki para o parágrafo. Aparece no lado direito da janela em um campo de texto limitado.
Uso
{{MW version|version= [|version2=] [|comment=] [|gerrit change=]/[|gerrit=] }}
Esta é a documentação do TemplateData para esta predefinição, utilizada pelo Editor Visual e outras ferramentas.
MW version
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 gerrit change | A Gerrit change number implementing the feature. | String | optional |
| Compact | compact | If set, hides the "MediaWiki version:" string. | Boolean | optional |
Exemplo
{{MW version|version=1.47}}
{{MW version|version=1.46}}
{{MW version|version=1.45}}
{{MW version|version=1.15}}
{{MW version|version=1.45|version2=1.47}}
{{MW version|version=1.45|version2=1.46}}
{{MW version|version=1.45|comment=and before}}
{{MW version|version=1.15|comment=and after}}
{{MW 1.15|and after}}
{{MW version|version=1.45|comment=text here}}
{{MW version|version=1.46|gerrit change=12345}}
{{MW version|version=1.46|r=123}}
Ver também
- {{MW version-inline }}
- {{MW 1.46 }}
- {{MW 1.45 }}
Subpáginas deste(a) predefinição.