Үлгі:Shades of color
Note
өңдеуThis template is used to generate shades of color navigation templates.
Sample
өңдеу{{Shades of color
|color=Green
|color1=Green
|color2=Red
|color3=Violet
|color4=Purple
|color5=Brown
|color6=Cyan
|color7=Black
|color8=Orange
|color9=White
|color10=Yellow
|color11=Blue
|color12=Magenta}}
Green | Red | Violet | Purple | Brown | Cyan | Black | Orange | White | Yellow |
Blue | Magenta | ||||||||
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. |
textcolor | (Optional) Color used for the title text. Defaults to white. |
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. |
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. |