قالب:درجات اللون

من ويكيبيديا، الموسوعة الحرة
اذهب إلى: تصفح، ‏ ابحث

ملاحظة[عدل]

يستخدم هذا القالب لتوليد قوالب درجات الألوان.

مثال[عدل]

{{درجات اللون
|color=الألوان
|color1=Green|name1=أخضر|article1=أخضر
|color2=Red|name2=أحمر|article2=أحمر
|color3=Violet|name3=بنفسجي|article3=بنفسجي (لون)
|color4=Purple|name4=أرجواني|article4=أرجواني (لون)
|color5=Brown|name5=بني|article5=بني
|color6=Cyan|name6=سيان|article6=سيان (لون)
|color7=black|name7=أسود|article7=أسود (لون)
|color8=Gray|name8=رمادي|article8=رمادي (لون)
|color9=White|name9=أبيض|article9=أبيض
|color10=Yellow|name10=أصفر|article10=أصفر
|color11=blue|name11=أزرق|article11=أزرق
|color12=Magenta|name12=قرمزي|article12=قرمزي (لون)
|color13=Orange|name13=برتقالي|article13=برتقالي
|color14=silver|name14=فضي|article14=فضة}}

Parameters[عدل]

Global parameters
color Base color of the template.
bgcolor (Optional) Color used as the background color of the title bar. Defaults to the color parameter.
title (Optional) Title used for the title text. Defaults to Shades of ...
textcolor (Optional) Color used for the title text. Defaults to white.
state (Optional)
autocollapse Will start as collapsed if two or more navigation boxes are on the same page. This is the default.
collapsed Will always start collapsed.
plain Will not be collapsible.
off Will not be collapsible. Extra padding will not be added to the right side to center title.
colorname (Optional) Name of main shade, defaults to the color parameter.
catcolorname (Optional) Color name in the Category:Shades of ..., defaults to the color parameter.
shownote (Optional) If set will show a note stating that the samples should not be taken to be definitive.
caveat (Optional) Note to show at the bottom of the template.
Per shade parameters (N may be 1 to 50)
colorN Color used as the background of the swatch. May be a hexcode.
nameN (Optional) Name of the color swatch. Defaults to the colorN parameter.
articleN (Optional) Name of the article for the shade. Defaults to the nameN parameter or if that is not set colorN.