Module:Flag/doc

Jump to navigation Jump to search

This is the documentation page for Module:Flag

Lua-native alternative to popular flag templates. Can be used to reduce post-expand include size of pages with lots of templates, since it avoids calling multilevel templates.

Usage

Examples

Template Module
Code Output PEIS Code Output PEIS
{{flag|China}}  China 443b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 128b
{{flagcountry|China}}  Wikipedia:China 577b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 128b
{{flagdeco|China}} 452b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 107b
{{flagicon|China}} Wikipedia:China 548b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 117b
{{flag+link|History of|China}} Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). Wikipedia:China 663b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 139b
{{flagathlete|Andy Murray|GBR}}  Andy Murray (GBR) 617b Template:Mlx Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). 210b