Module:BrewerColors/doc
MyWikiBiz, Author Your Legacy — Tuesday December 03, 2024
Jump to navigationJump to searchThis 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 Data:I18n/BrewerColors.tab carefully.
Function ShowColors
Code | Result |
---|---|
{{#invoke:BrewerColors|ShowColors|Oranges|5}} |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab. |
{{#invoke:BrewerColors|ShowColors|Oranges_i|5}} |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab. |
{{BrewerColors|Greens|9}} |
Template:BrewerColors |
{{#invoke:BrewerColors|ShowColors|YlGn|3|-}} |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab. |
{{#invoke:BrewerColors|ShowColors|YlGn|3|a}} |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab. |
Function Legends
{{#invoke:BrewerColors|Legends|Oranges|5|30em}}
produces:
Lua error: expandTemplate: template "div col" does not exist.
{{#invoke:BrewerColors|Legends|Greens|3||--Without data|One|Two|Three}}
produces:
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab.