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

(تم التحويل من قالب:Shades of color)
Template documentation[view] [edit] [history] [purge]

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

Sample

{{Shades of color
| color=color
| bgcolor=purple
| Green| Green| Green
| Red| Red| Red
| Violet| Violet| Violet (color)
| Purple| Purple| Purple
| Brown| Brown| Brown
| Cyan| Aqua| Aqua (color)
| Black| Black| Black
| Gray| Gray| Grey
| White| White| White
| Yellow| Yellow| Yellow
| Blue| Blue| Blue
| Pink| Pink| Pink
| Orange| Orange| Orange (colour)
| Silver| Silver
}}

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.
uncollapsed Will never 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 (up to 70 rows)
Unnamed parameters
| color | name | article
  • Color used as the background of the swatch. May be a hexcode.
  • Name of the color swatch. Defaults to the colorN parameter.
  • Name of the article for the shade. Defaults to the name parameter or if that is not set color. Will automatically detect pages with " (color)" or " (colour)" designators and link to those disambiguated pages if this parameter is not explicitly set.

See also