قالب:Included
| Included |
تم تصميم القوالب فى دى السلسلة لاستخدامها فى جدول لإنشاء خلية بيها نص فى تلك الخلية، مع خلفية ملونة بشكل مناسب. هيا تستخدم فى العاده فى جداول [[المقارنة.
زى ، بيخللى {{yes}} خلية بخلفية خضراء. يتم أخذ النص فى الخلية من مساعدة:قالب؛ style="color:#000000;background:#9EFF9E;vertical-align:middle;text-align:center;" class="table-yes"|Sure سينتج "بالتأكيد" و إلا سيتم تعيينه افتراضى على "نعم". تسمح معظم القوالب للمحررين بتجاوز النص الافتراضى بالطريقه دى، و بعضها يتطلب وضع نص بعد استدعاء القالب و بعضها يحتاج كمان لشريط عمودى بينهم: قالب:''table cell template'' text or قالب:''table cell template'' | text. دى المعلومات و الألوان والنصوص الافتراضية موجودة فى الجدول تحته.
إذا كنت تريد استخدام سمات تانيه لخلايا الجدول، زى colspan or rowspan, فيجب وضعها قبل استدعاء القالب ويجب عدم وجود شريط عمودى | بينهم:
Formate
| Class[1] | Default syntax | Preview (default) | Customized syntax | Preview (customized) |
|---|---|---|---|---|
table-rh | {{rh}} | Row header[2] | Row header | {{rh|align=right}} | Row header | Row header |
| {{rh2}} | Row header[2] | Row header | {{rh2|align=right}} | Row header | Row header | |
table-yes | {{yes}} | ايوا | {{yes|Customized text}} | Customized text |
| {{Ya}} | {{Ya|Customized alt text|link=WP:ALT}} | |||
table-no | {{nu}} | لأ | {{nu|Customized text}} | Customized text |
| {{Na}} | — التعليق اللى مش ممضى ده كتبه [[مستخدم:{{{1}}}|{{{1}}}]] ([[نقاش المستخدم:{{{1}}}|مناقشه]] • [[خاص:مساهمات/{{{1}}}|تعديلات]]) | {{Na|Customized alt text|link=WP:ALT}} | — التعليق اللى مش ممضى ده كتبه Customized alt text (مناقشه • تعديلات) | |
| {{eliminated}} | Eliminated | |||
table-siteactive | {{Site active}} | Active | ||
table-siteinactive | {{Site inactive}} | Inactive | ||
table-yes2 | {{good}} | كويس | {{good|A}} | A |
| {{yes2}} | {{yes2|Text}} | Text | ||
| {{won}} | فوز | فوز | فوز | |
| 1 | 1 | Gold | Gold | |
| 2 | 2 | Silver | Silver | |
| 3 | 3 | Bronze | Bronze | |
table-no2 | {{no2}} | {{no2|Text}} | Text | |
| {{nom}} | رُشِّح | {{nom|5}} | 5 | |
| {{sho}} | Shortlisted | |||
| {{TBA}} | TBA | {{TBA|To be announced}} | To be announced | |
table-partial | {{partial}} | Partial | ||
| {{yes-No}} | Yes/No | |||
| {{okay}} | Neutral | {{okay|C}} | C | |
| {{some}} | Some | |||
table-any | {{any}} | Any | ||
table-na | {{n/a}} | — | ||
table-unknown | {{Unknown}} | غير معروف | ||
table-depends | {{Depends}} | Depends | {{Depends|Customized text}} | Customized text |
table-included | {{Included}} | Included | ||
table-dropped | {{dropped}} | Dropped | ||
| {{terminated}} | Terminated | |||
table-beta | {{beta}} | Beta | ||
table-free | {{free}} | حُرّ | {{free|Customized text}} | Customized text |
table-nonfree | {{nonfree}} | Non-free | {{nonfree|Customized text}} | Customized text |
table-proprietary | {{proprietary}} | برامج احتكاريه | {{proprietary|Customized text}} | Customized text |
table-needs | {{needs}} | Needs | {{needs|Customized text}} | Customized text |
| no class | {{incorrect}} | مش صح | {{incorrect|Customized text}} | Customized text |
| no class | {{no result}} | No result | {{no result|N.R.}} | N.R. |
| no class | {{pending}} | Pending | ||
table-nightly | {{nightly}} | Nightly build | {{nightly|Customized text}} | Customized text |
table-release-candidate | {{release-candidate}} | Release candidate | {{release-candidate|Customized text}} | Customized text |
| no class | {{?}}[3] | ? | ||
| no class | {{draw}} | {{draw|Text}} | Text |
كود
رمز شائع لمعظم القوالب الموجودة فى دى السلسلة إن ماكانش كلها:
style="background: #abcdef; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|text-transform: capitalize;}}}" class="automatic table-automatic"| {{{1|text}}}
Code specific to this template:
style="color:#000000;background: #DFF; vertical-align: middle; text-align: center; " class="included table-included"|Included
لإنشاء قالب خلية جدول جديد، يمكنك استخدام:
{{subst:Table cell templates|text= default text |bg= background color |class= a class name without prefix |align= standard horizontal alignment}}
يجب عليك ترك معلمة align و فى الغالب تكون معلمة class غير ضرورية كمان .
أضف القالب الجديد لالجدول فى الوثائق المشتركة بعد ذلك. يرجى النظر فى إعادة استخدام واحد من القوالب التانيه، ويرجى اختيار اللون بشكل معقول.
إذا لقت قالب خلية جدول لا يأخذ معلمة وعايزه تكون قادر على تغيير النص فى الخلية، فلا تكرر القالب! بدل ده ، قم بتحرير القالب وتغيير النص لاستبدال المعلمة الافتراضية. زى ، إذا تم نص واحد من القوالب Dropped ، و مش ذلك لDropped.
style="background: #abcdef; color: black; vertical-align: middle; text-align: center; " class="automatic table-automatic"| text
بيانات القالب
بيانات قالب: «Included»
واحد من القوالب المتعددة لتصميم خلايا جدول فردية بمحتويات و ألوان قياسية.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| نص | 1 | text to be displayed instead of the default, if this doesn't work put the text after the template, possibly with a vertical bar | in between
| محتوى | مقترح |
| محاذاة أفقية | align | text alignment inside the cell, either 'left', 'right', 'center' or 'justified'
| نص | مقترح |
| style | النمط | a semicolon separated list of additional CSS rules to be applied to the table cell
| نص | مقترح |
| لون الخلفية | color | a valid CSS color value or name to override the standard the cell background, only available with some templates
| سطر | مقترح |
شوف كمان
- {{تغيير}} – يحسب ويعرض ويتغير لون الرموز بين قيمتين
- {{BSD-lic}} – إعادة توجيه مخصصة لـ {{مجاني}}
- {{GPL-lic}} – إعادة توجيه مخصصة لـ {{مجاني}}
- {{LGPL-lic}} – إعادة توجيه مخصصة لـ {{مجاني}}
مراجع
- ↑ The HTML class of table cell templates may be referenced in a user stylesheet to change appearance.
- 1 2 Does not take a parameter; the content should be placed after the template call, separated by a pipe (|) character.
- ↑ Does not take a parameter; not really a table cell template at all, but here for completeness