Difference between revisions of "Module:Country alias/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Primefac
(update /doc)
m (7 revisions imported)
 
(No difference)

Latest revision as of 15:58, 26 September 2020

This module implements Template:T and the Template:T family of templates. Check there for usage documentation.

Usage

Template:Country alias

This module is used by Template:T 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

This module is used by Template:T 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

This module is used by the Template:T 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=}}