Module:BrewerColors/doc: Difference between revisions
Jump to navigation
Jump to search
wp>SporkBot m Replace template per TFD outcome; no change in content |
m 1 revision imported |
(No difference)
|
Latest revision as of 18:05, 10 August 2020
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).