Modul:Flag/doc
Qiyofa
Bu sahifa Modul:Flag uchun hujjat sahifasidir
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Bu andoza quyidagi Luadan foydalanadi: |
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
[manbasini tahrirlash]- {{flag}} → Andoza:Ml
- {{flagcountry}} → Andoza:Ml
- {{flagdeco}} → Andoza:Ml
- {{flagicon}} → Andoza:Ml
- {{flag+link}} → Andoza:Ml
Examples
[manbasini tahrirlash]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 |