Module:ChartColors/doc

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.