Modul:Flag/doc: Versiyalar orasidagi farq
Oʻzbekcha Vikipediyadan import qilindi. | Oʻzbekcha Vikipediyadan import qilindi. |
$2, $3 dagi (joriy) koʻrinishi
| 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
[tahrir | manbasini tahrirlash]- {{flag}} → Andoza:Ml
- {{flagcountry}} → Andoza:Ml
- {{flagdeco}} → Andoza:Ml
- {{flagicon}} → Andoza:Ml
- {{flag+link}} → Andoza:Ml
Examples
[tahrir | manbasini tahrirlash]| Template | Module | ||||
|---|---|---|---|---|---|
| Code | Output | PEIS | Code | Output | PEIS |
{{flag|China}} |
443b | {{#invoke:flag|main|China}} |
Template:Country data main | 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 | |