Template:MW version/doc: Difference between revisions

From Campaigns
Jump to navigation Jump to search
m 1 revision imported
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
<noinclude>{{Documentation subpage}}</noinclude>
<!-- 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: left;}}
</includeonly>{{TemplateData header}}
</includeonly>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"version2": {
"version2": {
"label": {
"label": "Version 2",
"en": "Version 2",
"description": "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.",
"pl": "Wersja 2",
"tr": "Sürüm 2"
},
"description": {
"en": "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.",
"pl": "Aby wyświetlić zakres wersji (np. 1.20 - 1.25), wpisz pierwszą wersję do parametru „version“ i drugą wersję do parametru „version2”.",
"tr": "Bir dizi sürümü (örn. 1.20 - 1.25) görüntülemek için, ilk sürümü “version” parametresine ve ikinci sürümü “version2” parametresine girin."
},
"type": "string"
"type": "string"
},
},
"version": {
"version": {
"label": {
"label": "Version",
"en": "Version",
"description": "The version number of MediaWiki to display.",
"pl": "Wersja",
"ja": "バージョン",
"tr": "Sürüm"
},
"description": {
"en": "The version number of MediaWiki to display.",
"pl": "Wersja MediaWiki do wyświetlenia",
"ja": "表示する MediaWiki のバージョン番号。",
"tr": "Görüntülenecek MediaWiki sürüm numarası."
},
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"comment": {
"comment": {
"label": {
"label": "Comment",
"en": "Comment",
"description": "If set to “and before” or “and after”, 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.",
"pl": "Komentarz",
"tr": "Yorum"
},
"description": {
"en": "If set to “and before” or “and after”, 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.",
"pl": "Jeżeli ustawione na „and before“ lub „and after“, umieszcza znak mniejsze lub równe (&le;) lub większe lub równe (&ge;) przed numerem wersji; w innym przypadku doda komentarz po prawej stronie.",
"tr": "“and before” veya “and after” ayarlanırsa, sürüm numarasının önüne küçüktür veya eşittir (&le;) veya büyüktür veya eşittir (&ge;) işareti koyar; aksi takdirde yorumu sürüm numarası kutusunun sağına ekler."
},
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"r": {
"r": {
"label": {
"label": "SVN revision ID",
"en": "SVN revision ID",
"description": "An SVN revision ID related to the section this template embedded in.",
"pl": "Numer wersji SVN",
"tr": "SVN revizyon kimliği"
},
"description": {
"en": "An SVN revision ID related to the section this template embedded in.",
"pl": "Identyfikator wersji SVN powiązany z zawartością sekcji gdzie umieszczono szablon",
"tr": "Bu şablonun gömülü olduğu bölümle ilgili bir SVN revizyon kimliği."
},
"deprecated": "SVN was merged to Gerrit.",
"deprecated": "SVN was merged to Gerrit.",
"type": "string"
},
"gerrit change": {
"label": {
"en": "Gerrit change",
"pl": "Zmiana w Gerrit",
"tr": "Gerrit değişikliği"
},
"description": {
"en": "A Gerrit change number implementing the feature.",
"pl": "Numer zmiany Gerrit implementujący te funkcję",
"tr": "Özelliği uygulayan bir Gerrit değişiklik numarası."
},
"type": "string"
"type": "string"
},
},
"compact": {
"compact": {
"label": {
"label": "Compact",
"en": "Compact",
"description": "If set, hides the “MediaWiki version:” string.",
"pl": "Kompaktowo",
"tr": "Kavram"
},
"description": {
"en": "If set, hides the “MediaWiki version:” string.",
"pl": "Ukrywa napis „Wersja MediaWiki:”.",
"tr": "Ayarlanırsa, “MediaWiki sürümü:” dizesini gizler."
},
"type": "boolean"
"type": "boolean"
}
}
},
},
"description": {
"description": "This template shows the valid MediaWiki version for the paragraph. It appears on the right side of the window in a bordered text field.",
"en": "This template shows the valid MediaWiki version for the paragraph. It appears on the right side of the window in a bordered text field.",
"pl": "Ten szablon pokazuje odpowiednią wersję MediaWiki dla akapitu. Wyświetla się on po prawej stronie okna w postaci pola tekstowego z ramką.",
"tr": "Bu şablon, paragraf için geçerli MediaWiki sürümünü gösterir. Pencerenin sağ tarafında, çerçeveli bir metin alanında görünür."
},
"paramOrder": [
"paramOrder": [
"version",
"version",
Line 100: Line 41:
"comment",
"comment",
"r",
"r",
"gerrit change",
"compact"
"compact"
],
],
Line 109: Line 49:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:MediaWiki version information templates{{#translation:}}]]
[[Category:MediaWiki version information templates]]
[[Category:MediaWiki version templates&lrm;{{#translation:}}|*]]
[[Category:MediaWiki version templates&lrm;|*]]
}}</includeonly>
}}</includeonly>

Latest revision as of 03:03, 15 February 2022

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

Stringoptional
Commentcomment

If set to “and before” or “and after”, 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
Compactcompact

If set, hides the “MediaWiki version:” string.

Booleanoptional