మూస:BrewerColorLegends/doc

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

This template shows the Brewer colors with {{legend}} to include in the code. Based on specifications and designs developed by Cynthia Brewer ([1]).

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

{{BrewerColorLegends|color palette|color number|column width|..}}

The color number must be 3 to 8-12, depending on the color palette:

Brewer's 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:BrewerColorLegends in articles based on its TemplateData.

TemplateData for BrewerColorLegends

Display a Brewer's color palette

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

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

Name of the color palette to use

లైనుతప్పనిసరి
Color number2

Color number required from 3 to 9/12

సంఖ్యతప్పనిసరి
Column width3

Width of columns showing colors (and text). Leave blank for no columns

లైనుతప్పనిసరి
Legend 14

Text for the 1st color

లైనుఐచ్చికం
Legend 25

Text for the 2nd color

లైనుఐచ్చికం
Legend 36

Text for the 3rd color

లైనుఐచ్చికం
Legend 47

Text for the 4th color

లైనుఐచ్చికం
Legend 58

Text for the 5th color

లైనుఐచ్చికం
Legend 69

Text for the 6th color

లైనుఐచ్చికం
Legend 710

Text for the 7th color

లైనుఐచ్చికం
Legend 811

Text for the 8th color

లైనుఐచ్చికం
Legend 912

Text for the 9th color

లైనుఐచ్చికం
Legend 1013

Text for the 10th color

లైనుఐచ్చికం
Legend 1114

Text for the 11th color

లైనుఐచ్చికం
Legend 1215

Text for the 12th color

లైనుఐచ్చికం

With legend text

[మార్చు]
{{BrewerColorLegends|Oranges|4|30em|One|Two|Three|Four}}

produces: Script error: No such module "BrewerColors".

Without legend text

[మార్చు]
{{BrewerColorLegends|Set3|10|20em}}

produces: Script error: No such module "BrewerColors".