Jump to content

Module:Flag/doc

E tswa ho Wikipedia
Revision as of 18:44, 27 Hlakubele 2022 by Prince ovy (bua | litsebo) (Created page with "{{Module rating |beta }} {{lua|Module:Flagg|Module:Check for unknown parameters}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> 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 == * {{tl|flag}} → {{ml|flag|main}} * {{tl|flagcountry}} →...")
(Phapano) ← Older revision | Latest revision (Phapano) | Newer revision → (Phapano)

This is the documentation page for Module:Flag

Template:Lua 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.

Examples

[fetola mohloli]
Template Module
Code Output PEIS Code Output PEIS
Template:Tlx Template:Flag 443b Template:Mlx Template:Country data China  128b
Template:Tlx Template:Flagcountry 577b Template:Mlx Template:Country data China China 128b
Template:Tlx Template:Flagdeco 452b Template:Mlx Template:Country data China 107b
Template:Tlx Template:Country data China 548b Template:Mlx Lua error in Module:Flag at line 79: attempt to call field '_check' (a nil value). 117b
Template:Tlx Template:Flag+link 663b Template:Mlx Template:Country data China China 139b