Module:Flag/doc: Difference between revisions
Jump to navigation
Jump to search
(Document {{#invoke:flag|athlete}}) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:56, 23 May 2023
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. |
This module depends on the following other modules: |
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
- {{flag}} → Template:Ml
- {{flagcountry}} → Template:Ml
- {{flagdeco}} → Template:Ml
- {{flagicon}} → Template:Ml
- {{flag+link}} → Template:Ml
- {{flagathlete}} → Template:Ml
Examples
Template | Module | ||||
---|---|---|---|---|---|
Code | Output | PEIS | Code | Output | PEIS |
{{flag|China}} |
China | 443b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 128b |
{{flagcountry|China}} |
Wikipedia:China | 577b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 128b |
{{flagdeco|China}} |
452b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 107b | |
{{flagicon|China}} |
548b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 117b | |
{{flag+link|History of|China}} |
Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). Wikipedia:China | 663b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 139b |
{{flagathlete|Andy Murray|GBR}} |
Andy Murray (GBR) | 617b | Template:Mlx | Lua error in Module:Flagg at line 70: attempt to call field 'getcachedtable' (a nil value). | 210b |