قالب:Version
شكل عام لنواتجه
[عدل المصدر]| الإصدار Version | السنة Year | وصف Description |
|---|---|---|
| 1.0 | 2010 | Old version |
| 1.8 | 2011 | Older version, yet still supported |
| 2.0 | 2012 | Current stable version |
| 3.0 | 2027 | Future release |
تنويه: غير مدعوم إصدار قديم، ما يزال مدعوم أحدث إصدار أحدث إصدار معاينة إصدار مستقبلي | ||
عناصر
[عدل المصدر]تفسير
[عدل المصدر]| معامل Parameter | وصف Description | الملاحظات Notes |
|---|---|---|
1 |
Legend type | Either of the following generates a legend box. Acceptable values include:
|
show |
Legend contents | This parameter is optional. By default the legend box contains the following six items:
This parameter allows each item to be displayed or hidden with digits. Each digit controls the state of its associated item in the above list.
Additional digits on the left are ignored. |
style |
CSS styles | This parameter is optional. Use it to change the template's formatting, style and layout via CSS syntax.
In combination with the legend the specified CSS applies to the entire block. |
خلايا الجدول
[عدل المصدر]| معامل Parameter | وصف Description | الملاحظات Notes |
|---|---|---|
1 |
Data type | Either of the following change the background color of the cell in which it is inserted:
|
2 |
Text | Specifies the text to display on screen, usually a version number or name of a specific version. |
style |
CSS styles | This parameter is optional. Use it to change the template's formatting, style and layout via CSS syntax.
This parameter can be inserted into a table cell to enforce CSS definitions in that cell. |
sortKey |
Sorting key | This parameter is optional. A sortkey is an invisible string used to change the way a certain table cell is sorted. For instance, normally, the phrase "ACME's Bow" is sorted with phrases that start with A. Affixing a sortkey of "Bow" to the phrase causes the phrase to be sorted with other phrases that start with "B" (or, to be more accurate, with "Bow").
For general information on sorting tables, see Help:Tables. |
أمثلة
[عدل المصدر]صندوق التفسير في أسفل الجدول
[عدل المصدر]| وصف Description | ما يكتب What you type | ما سيظهر What it looks like | |||||
|---|---|---|---|---|---|---|---|
| Horizontal legend | {{Version |l |show=110111}} |
تنويه: غير مدعوم أحدث إصدار أحدث إصدار معاينة إصدار مستقبلي | |||||
| Vertical legend | {{Version |lv |show=011101}} |
غير مدعوم
إصدار قديم، ما يزال مدعوم الإصدار المستقر الحالي إصدار مستقبلي أبجد هوز حطي كلمن سعفص قرشت ثخذ ضظغ، اللغة العربية ومكانتها بين لغات العالم تتصدر المشهد الثقافي عبر عصور متلاحقة، إذ تشكلت من خلالها ملامح الهوية الجامعة للشعوب العربية، وارتبطت بالحضارة والعلوم والفنون. وفي مسيرتها الطويلة تداخلت البلاغة بالمعرفة، وتوارثت الأجيال أسرار البيان وفنون التعبير، بينما ظلت الدعوات إلى التلاحم والوحدة تتردد في المجالس الفكرية والمنابر الثقافية. | |||||
| Horizontal legend table | {{Version |t |show=11110}} |
| |||||
| Vertical legend table | {{Version |tv |show=01111}} |
أبجد هوز حطي كلمن سعفص قرشت ثخذ ضظغ، اللغة العربية ومكانتها بين لغات العالم تتصدر المشهد الثقافي عبر عصور متلاحقة، إذ تشكلت من خلالها ملامح الهوية الجامعة للشعوب العربية، وارتبطت بالحضارة والعلوم والفنون. وفي مسيرتها الطويلة تداخلت البلاغة بالمعرفة، وتوارثت الأجيال أسرار البيان وفنون التعبير، بينما ظلت الدعوات إلى التلاحم والوحدة تتردد في المجالس الفكرية والمنابر الثقافية. |
خلايا الجدول
[عدل المصدر]| وصف Description | ما يكتب What you type | ما سيظهر What it looks like |
|---|---|---|
| Old version, unsupported | {{Version |o |1.0}} |
1.0 |
| Old version, still supported | {{Version |co |2.0}} |
2.0 |
| Latest stable version | {{Version |c |3.0}} |
3.0 |
| Preview version | {{Version |cp |4.0}} |
4.0 |
| Planned future version | {{Version |p |5.0}} |
5.0 |
جداول يمكن فرزها
[عدل المصدر]The template can be used in sortable tables. If the column version is sortable, the sort key defaults to the value of the version parameter. If you need differing sorting, add the sortKey parameter as follows:
| What you type | What it looks like | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| class="wikitable sortable"
|-
! Version !! Date !! Description
|-
| {{Version |o |1.0 |sortKey=1.0}}
| 2010-07-23 || Old version, unsupported
|-
| {{Version |co |2.0 |sortKey=2.0}}
| 2011-06-27 || Old version, still supported
|-
| {{Version |cp |3.0 DP |sortKey=3.0 A}}
| 2012-03-02 || Developer's preview
|-
| {{Version |cp |3.0 CP |sortKey=3.0 B}}
| 2012-04-01 || Consumers Preview
|-
| {{Version |cp |3.0 RC |sortKey=3.0 C}}
| 2012-05-25 || Release candidate
|-
| {{Version |c |3.0 |sortKey=3.0 Z}}
| 2012-06-23 || Release to web
|-
| {{Version |p |4.0 |sortKey=4.0}}
| 2013-09-06 || Future version
|} |
|
مثال
[عدل المصدر]أنظ أيضا أمثله
| توصيف | يظهر |
|---|---|
<!-- هنا المثال --> |
|