మూస:BrewerColors/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

This template shows the Brewer colors. Based on specifications and designs developed by Cynthia Brewer ([1]). These color palettes can be used for statistical diagrams and for maps.

To translate or review the translation of the module to your language, edit carefully Data:I18n/BrewerColors.tab.

{{BrewerColors|color palette|number of colors|show the color number}}

The number of colors must be from 3 to 9 or 12, according to the palette.

Show the color number is an optional parameter, with two values: '-' the color number and 'a' with the degree of transparency (alpha channel) added at the end of the number and always it will be 'ff'. It is only interesting to add the color for the map coloring.

Brewers color palettes

[మార్చు]

Valid names and full color representation for each palette. Moving the mouse cursor over each box the color number appears.

Sequential (1-9)
  • YlGn
    Script error: No such module "BrewerColors".
  • YlGnBu
    Script error: No such module "BrewerColors".
  • GnBu
    Script error: No such module "BrewerColors".
  • BuGn
    Script error: No such module "BrewerColors".
  • PuBuGn
    Script error: No such module "BrewerColors".
  • PuBu
    Script error: No such module "BrewerColors".
  • BuPu
    Script error: No such module "BrewerColors".
  • RdPu
    Script error: No such module "BrewerColors".
  • PuRd
    Script error: No such module "BrewerColors".
  • OrRd
    Script error: No such module "BrewerColors".
  • YlOrRd
    Script error: No such module "BrewerColors".
  • YlOrBr
    Script error: No such module "BrewerColors".
  • Purples
    Script error: No such module "BrewerColors".
  • Blues
    Script error: No such module "BrewerColors".
  • Greens
    Script error: No such module "BrewerColors".
  • Oranges
    Script error: No such module "BrewerColors".
  • Reds
    Script error: No such module "BrewerColors".
  • Greys
    Script error: No such module "BrewerColors".
Divergent (1-11)
  • PuOr
    Script error: No such module "BrewerColors".
  • BrBG
    Script error: No such module "BrewerColors".
  • PRGn
    Script error: No such module "BrewerColors".
  • PiYG
    Script error: No such module "BrewerColors".
  • RdBu
    Script error: No such module "BrewerColors".
  • RdGy
    Script error: No such module "BrewerColors".
  • RdYlBu
    Script error: No such module "BrewerColors".
  • Spectral
    Script error: No such module "BrewerColors".
  • RdYlGn
    Script error: No such module "BrewerColors".
Qualitative (1-8/12)
  • Accent
    Script error: No such module "BrewerColors".
  • Dark2
    Script error: No such module "BrewerColors".
  • Paired
    Script error: No such module "BrewerColors".
  • Pastel1
    Script error: No such module "BrewerColors".
  • Pastel2
    Script error: No such module "BrewerColors".
  • Set1
    Script error: No such module "BrewerColors".
  • Set2
    Script error: No such module "BrewerColors".
  • Set3
    Script error: No such module "BrewerColors".

Template data

[మార్చు]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BrewerColors in articles based on its TemplateData.

TemplateData for BrewerColors

Show colors of Brewer palettes

మూస పరామితులు

పరామితివివరణరకంస్థితి
Palette name1

Name of the palette to use

లైనుతప్పనిసరి
Number of colors2

The number of colors to show on the palette, from 3 to 9/12

సంఖ్యతప్పనిసరి
Show color number3

Write the color number after the box: - (only number) or (with alpha channel)

సంఖ్యఐచ్చికం
Code Result
{{BrewerColors|Greens|3}} Script error: No such module "BrewerColors".
{{BrewerColors|Greens_i|3}} Script error: No such module "BrewerColors".
{{BrewerColors|Set1|8}} Script error: No such module "BrewerColors".
{{BrewerColors|Accent|4|-}} Script error: No such module "BrewerColors".
{{BrewerColors|Accent|4|a}} Script error: No such module "BrewerColors".