Module:BrewerColors/doc

MyWikiBiz, Author Your Legacy — Tuesday December 03, 2024
< Module:BrewerColors
Revision as of 20:51, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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 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.