Modul:Country alias/doc
Ini ialah laman pendokumenan untuk Modul:Country alias
Halaman ini punya modul Lua digunakan pada anggaran 41,000 laman dan perubahan besar-besaran mungkin akan ternampak. Sila uji perubahan di modul punya subhalaman kotak pasir atau laman uji kaji, atau pada module sandbox anda. Pertimbang untuk membincang perubahan pada laman perbincangan sebelum melaksanakannya. |
This module implements {{country alias}} and {{flagIOC2}} family of templates check there for usage documentation.
- Module:Country alias • Module:Country alias/sandbox • does not exist
- Module:country alias/data • Module:country alias/data/sandbox • does not exist
Usage
[sunting sumber]Template:Country alias
[sunting sumber]This module is used by {{country alias}} to return either the country name or the country's flag based on a combination of the three-letter country code (required), the year (optional), and the competition being played (optional).
{{#invoke:Country alias|main|alias=|flag=|games=|year=}}
Template:FlagIOC
[sunting sumber]This module is used by the {{FlagIOC}} to return a formatted country flag, country name, and the number of athletes present (optional) at a given a Olympic Games.
{{#invoke:Country alias|flagIOC|alias=|flag=|games=|year=|athletes=}}
Template:FlagIOC2 and variants
[sunting sumber]This module is used by the {{FlagIOC2}} family of templates (except FlagIOC, described above) to return various formatted combinations of country flag, country name, the number of athletes present at a given Games.
{{#invoke:Country alias|flagXYZ|alias=|flag=|games=|year=|athletes=}}