თარგი:Shades of color

დოკუმენტაცია დოკუმენტაცია

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

Sample

{{Shades of color
|color=შხვადოშხვა|color1=Green|name1=Green
|color2=Red|name2=Red
|color3=Violet|name3=Violet
|color4=Purple|name4=Purple
|color5=Brown|name5=Brown
|color6=Cyan|name6=Aqua
|color7=Black|name7=Black
|color8=Gray|name8=Gray
|color9=White|name9=White
|color10=Yellow|name10=Yellow
|color11=#0000FF|name11=Blue
|color12=Pink|name12=Pink
|color13=Orange|name13=Orange|article13=Orange (colour)
|color14=Silver|name14=Silver}}

Parameters

Global parameters
colorBase 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)
autocollapseWill start as collapsed if two or more navigation boxes are on the same page. This is the default.
collapsedWill always start collapsed.
uncollapsedWill never start collapsed.
plainWill not be collapsible.
offWill 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 60)
colorNColor used as the background of the swatch. May be a hexcode.
nameNName 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. Will automatically detect pages with " (color)" or " (colour)" designators and link to those disambiguated pages if this parameter is not explicitly set.

From Wiki