قالب:إصدار ميدياويكي

From mediawiki.org
This page is a translated version of the page Template:MW version and the translation is 100% complete.
إصدار ميدياويكي:
X.X
توثيق القالب

الغرض

يعرض هذا القالب إصدار ميدياويكي الصالح من أجل الفقرة. سوف يظهر على الجانب الأيمن من النافذة في خانة نص ذات إطار.

الاستخدام

{{MW version|version= [|version2=] [|comment=] [|gerrit change=] }}


[عرض · نقاش · تعديل]

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

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.

Template parameters[Edit template data]

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 (≤) or greater-than-or-equal (≥) 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

مثال

إصدار ميدياويكي:
1.42

{{MW version|version=1.42}}

إصدار ميدياويكي:
1.41

{{MW version|version=1.41}}

إصدار ميدياويكي:
1.40

{{MW version|version=1.40}}

إصدار ميدياويكي:
1.15

{{MW version|version=1.15}}

إصدارات ميدياويكي:
1.40 – 1.41

{{MW version|version=1.40|version2=1.41}}

إصدار ميدياويكي:
1.40

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

إصدار ميدياويكي:
1.15

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

إصدار ميدياويكي:
1.15

{{MW 1.15|and after}}

إصدار ميدياويكي:
1.40
text here

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

إصدار ميدياويكي:
1.41
Gerrit change 12345

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

إصدار ميدياويكي:
1.41
r123

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

طالع أيضا