మూస:BrewerColorLegends/doc
This template uses Lua: |
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.
Syntax
[మార్చు]{{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.
- 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".
- 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".
- 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
[మార్చు]TemplateData for BrewerColorLegends
Display a Brewer's color palette
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
Palette | 1 | Name of the color palette to use | లైను | తప్పనిసరి |
Color number | 2 | Color number required from 3 to 9/12 | సంఖ్య | తప్పనిసరి |
Column width | 3 | Width of columns showing colors (and text). Leave blank for no columns | లైను | తప్పనిసరి |
Legend 1 | 4 | Text for the 1st color | లైను | ఐచ్చికం |
Legend 2 | 5 | Text for the 2nd color | లైను | ఐచ్చికం |
Legend 3 | 6 | Text for the 3rd color | లైను | ఐచ్చికం |
Legend 4 | 7 | Text for the 4th color | లైను | ఐచ్చికం |
Legend 5 | 8 | Text for the 5th color | లైను | ఐచ్చికం |
Legend 6 | 9 | Text for the 6th color | లైను | ఐచ్చికం |
Legend 7 | 10 | Text for the 7th color | లైను | ఐచ్చికం |
Legend 8 | 11 | Text for the 8th color | లైను | ఐచ్చికం |
Legend 9 | 12 | Text for the 9th color | లైను | ఐచ్చికం |
Legend 10 | 13 | Text for the 10th color | లైను | ఐచ్చికం |
Legend 11 | 14 | Text for the 11th color | లైను | ఐచ్చికం |
Legend 12 | 15 | Text for the 12th color | లైను | ఐచ్చికం |
Examples
[మార్చు]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".
See also
[మార్చు]- {{BrewerColors}}
- {{ChartColorLegends}}