Mal:Shades of color

Fra Wikipedia, den frie encyklopedi
Gå til: navigasjon, søk


Note[rediger | rediger kilde]

This template is used to generate shades of color navigation templates.

Sample[rediger | rediger kilde]

{{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}}

Parameters[rediger | rediger kilde]

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.