Module:BrewerColors/doc
Jump to navigation
Jump to search
This is the documentation page for Module:BrewerColors
Used by {{BrewerColors}} and {{BrewerColorLegends}}
To translate or review the translation of the module to your language, edit carefully Data:I18n/BrewerColors.tab.
Function ShowColors
Code | Result |
---|---|
{{#invoke:BrewerColors|ShowColors|Oranges|5}} |
Lua error: bad argument #1 to "get" (not a valid title). |
{{#invoke:BrewerColors|ShowColors|Oranges_i|5}} |
Lua error: bad argument #1 to "get" (not a valid title). |
{{BrewerColors|Greens|9}} |
Lua error: bad argument #1 to "get" (not a valid title). |
{{#invoke:BrewerColors|ShowColors|YlGn|3|-}} |
Lua error: bad argument #1 to "get" (not a valid title). |
{{#invoke:BrewerColors|ShowColors|YlGn|3|a}} |
Lua error: bad argument #1 to "get" (not a valid title). |
Function Legends
{{#invoke:BrewerColors|Legends|Oranges|5|30em}}
produces:
Lua error: bad argument #1 to "get" (not a valid title).
{{#invoke:BrewerColors|Legends|Greens|3||--Without data|One|Two|Three}}
produces:
Lua error: bad argument #1 to "get" (not a valid title).