General information
editSource code
edit[[Image:{{country flag IOC alias {{{2}}}}}|22px]] {{{1}}} ([[{{country IOC alias {{{2}}}}}|{{{2}}}]])
Purpose
editThis template is meant to be used in sports results tables such as those in the Olympic medalists in biathlon article.
The template generates the following consecutive horizontal sequence of elements:
- the miniature flag of a nation,
- the name of an athlete, and
- the IOC code of the nation (three letters, see References), linked to the nation's article;
the emphasized characters above giving the rationale for the template's title.
Usage
editThere are two parameters:
- the athlete's name (linked to or not), and
- the IOC code of the athlete's country.
Calling the template is done like this: {{flag athl iocc|name|IOC code}}.
Example
editSource code, using the template:
{| class="wikitable" | width="200px"|{{flag athl iocc|[[Sven Fischer]]|GER}} | width="200px"|{{flag athl iocc|[[Ole Einar Bjørndalen]]|NOR}} | width="200px"|{{flag athl iocc|[[Raphaël Poirée]]|FRA}} |}
Resulting cells:
Sven Fischer (GER) | Ole Einar Bjørndalen (NOR) | Raphaël Poirée (FRA) |
References
edit- Wikipedia:WikiProject Flag Template – Information on the 'sub-templates' used by this template
- List of IOC country codes