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}} |
![]() |
443b | {{#invoke:flag|main|China}} |
![]() |
128b |
{{flagcountry|China}} |
![]() |
577b | {{#invoke:flag|country|China}} |
![]() |
128b |
{{flagdeco|China}} |
![]() |
452b | {{#invoke:flag|deco|China}} |
![]() |
107b |
{{flagicon|China}} |
![]() |
548b | {{#invoke:flag|icon|China}} |
![]() |
117b |
{{flag+link|History of|China}} |
Andoza:Flag+link | 663b | {{#invoke:flag|+link|History of|China}} |
![]() |
139b |