Module:ChartColors/doc

< Module:ChartColors
Revision as of 20:56, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:ChartColors

Used by {{ChartColors}} and {{ChartColorLegends}}

To translate or review the translation of the module to your language, edit carefully Data:I18n/ChartColors.tab.

Function ShowColors

Code Result
{{#invoke:ChartColors|ShowColors|Categ20|5}} Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab.
{{ChartColors|Categ20|9}} Template:ChartColors
{{#invoke:ChartColors|ShowColors|Categ20|3|-}} Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab.
{{#invoke:ChartColors|ShowColors|Categ20|3|a}} Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab.
{{#invoke:ChartColors|ShowColors|Plotter|5}} Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/ComplForColorModules.tab.
{{ChartColors|Plotter|20}} Template:ChartColors

Function Legends

{{#invoke:ChartColors|Legends|Categ20|5|2}}

produces:

Lua error: expandTemplate: template "div col" does not exist.


{{#invoke:ChartColors|Legends|Categ20|3|1|One|Two|Three}}

produces:

Lua error: expandTemplate: template "div col" does not exist.