Bu sahifa Modul:Flag uchun hujjat sahifasidir

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 tahrir

Examples tahrir

Template Module
Code Output PEIS Code Output PEIS
{{flag|China}}   China 443b {{#invoke:flag|main|China}} Lua xatosi in package.lua at line 80: module 'Module:CountryData/cacheB' not found. 128b
{{flagcountry|China}}   Xitoy 577b {{#invoke:flag|country|China}} Lua xatosi in package.lua at line 80: module 'Module:CountryData/cacheB' not found. 128b
{{flagdeco|China}}   452b {{#invoke:flag|deco|China}} Lua xatosi in package.lua at line 80: module 'Module:CountryData/cacheB' not found. 107b
{{flagicon|China}}   548b {{#invoke:flag|icon|China}} Lua xatosi in package.lua at line 80: module 'Module:CountryData/cacheB' not found. 117b
{{flag+link|History of|China}} Andoza:Flag+link 663b {{#invoke:flag|+link|History of|China}} Lua xatosi in package.lua at line 80: module 'Module:CountryData/cacheB' not found. 139b