Module:Country alias/doc
This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
Ang Lua module na ito ay ginagamit ng nasa 49,000 pahina at posibleng mapapansin agad ang mga pagbabago. Pakisubok muna ang mga balak na pagbabago sa subpahina ng module na /burador o /pagsubok, o sa sarili mong module sandbox. Pag-usapan muna ang mga balak na pagbabago sa pahina ng usapan bago gawin ito. |
This module implements {{country alias}} and the {{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
baguhinTemplate:Country alias
baguhinThis 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
baguhinThis module is used by {{flagIOC}} to return a formatted country flag, country name, and the number of athletes present (optional) at a given edition of the Olympic Games.
{{#invoke:Country alias|flagIOC|alias=|flag=|games=|year=|athletes=}}
Template:FlagIOC2 and variants
baguhinThis 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 and/or names of athletes present at a given Games.
{{#invoke:Country alias|flagXYZ|alias=|flag=|games=|year=|athletes=|type=}}