Jump to content

Template talk:Flag athl iocc

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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:

  1. the athlete's name (linked to or not), and
  2. 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:

 Sven Fischer (GER)  Ole Einar Bjørndalen (NOR)  Raphaël Poirée (FRA)

References

[edit]