Template talk:Flag athl iocc
Appearance
General information
[edit]Source code
[edit][[Image:{{country flag IOC alias {{{2}}}}}|22px]] {{{1}}} ([[{{country IOC alias {{{2}}}}}|{{{2}}}]])
Purpose
[edit]This 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
[edit]There 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
[edit]Source 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:
![]() |
![]() |
![]() |
References
[edit]- Wikipedia:WikiProject Flag Template – Information on the 'sub-templates' used by this template
- List of IOC country codes