Predloga:FlagIOCteam
Videz
{{podatki države {{{1}}}|zastavadržave/core|variant=|size=|name=}}
Uporablja Lua: |
This template family is used to display a small flag and name of a country, with a wikilink to the country's page for the specified multi-sport event and the country code.
Use {{FlagIOCteam}} for the Olympic Games.
Usage
[uredi kodo]{{flagXXXteam|koda|igre}}
- koda is the three-letter country code used by the IOC, CGF, or FINA.
- igre is a string with slightly different forms depending on the template used:
- {{flagIOC2team}} takes values in the form
<year> <Igre
, or just<igre>
- {{flagIOCteam}} and {{flagIPCteam}} use
<year> Poletne
,<Leto> Zimske
, or justPoletne
orZimske
- Games-specific templates such as {{flagCGFteam}}, {{flagPASOteam}}, etc, simply take the
<leto>
. See below for a full list of supported "shortcut" templates
- {{flagIOC2team}} takes values in the form
- The intent is that this template can be used from medal tables and event result tables to point to the right country page. Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.
Examples
[uredi kodo]In addition to using historical flags when appropriate, the specific name of the games will be selected when appropriate.
flagIOC2team
[uredi kodo]{{flagIOC2team|CHN|Azijskih igrah}}
→ Kitajska (CHN){{flagIOC2team|CHN|2008 Asian Beach Games}}
→ Kitajska (CHN){{flagIOC2team|HKG|Azijskih igrah 1954}}
→ Hong Kong (HKG) (Uses historical flag){{flagIOC2team|JPN|2009 Asian Indoor Games|100}}
→ Japonska (JPN)
flagIOCteam / flagIPCteam
[uredi kodo]{{flagIOCteam/peskovnik|USA}}
→ ZDA (USA){{flagIOCteam/peskovnik|GER|Zimske}}
→ Nemčija (GER){{flagIOCteam/peskovnik|ESP|Poletnih olimpijskih igrah 2004}}
→ Španija (ESP){{flagIOCteam/peskovnik|CAN|Zimskih olimpijskih igrah 2006}}
→ Kanada (CAN){{flagIOCteam/peskovnik|CAN|1924 Zimske}}
→ Kanada (CAN) (Uses historical flag){{flagIPCteam|GRE|Zimskih olimpijskih igrah 2004}}
→ Predloga:FlagIPCteam
flagCGFteam
[uredi kodo]{{flagCGFteam|CAN}}
→ Predloga:FlagCGFteam{{flagCGFteam|MAS|2006}}
→ Predloga:FlagCGFteam{{flagCGFteam|AUS|1974}}
→ Predloga:FlagCGFteam{{flagCGFteam|NZL|1962}}
→ Predloga:FlagCGFteam{{flagCGFteam|IND|1934}}
→ Predloga:FlagCGFteam
flagSEAGFteam
[uredi kodo]{{flagSEAGFteam|VIE|1973}}
→ Predloga:FlagSEAGFteam (Uses historical flag){{flagSEAGFteam|MAS|1961}}
→ Predloga:FlagSEAGFteam{{flagSEAGFteam|MYA|2013}}
→ Predloga:FlagSEAGFteam
Supporting templates
[uredi kodo]- The country name is supplied by
{{country alias|AAA}}
where AAA is an IOC country code. - The flag image name is also supplied by
{{country alias}}
- For the complete country code list with related names and flags, see Module:Country alias