Templat:FlagIOC

Daripada Wikipedia, ensiklopedia bebas.
Pergi ke navigasi Pergi ke carian
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Penggunaan[sunting sumber]

Usage[sunting sumber]

{{flagXXX|code|games|athletes}}

  • code is the three-letter country code used by the IOC, CGF, or FINA.
  • games is a string with slightly different forms depending on the template used:
    • {{flagIOC2}} takes values in the form <year> <games>, or just <games>
    • {{flagIOC}} and {{flagIPC}} use <year> Summer, <year> Winter, or just Summer or Winter
    • Games-specific templates such as {{flagCGF}}, {{flagPASO}}, etc, simply take the <year>. See below for a full list of supported "shortcut" templates
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.
  • athletes is the number of athletes that the nation contributed to the specific Games. It is an optional argument, and will render a small (#) after the nation's name.

Examples[sunting sumber]

In addition to using historical flags when appropriate, the specific name of the games will be selected when appropriate.

flagIOC2[sunting sumber]

  • {{flagIOC2|CHN|Asian Games}} China
  • {{flagIOC2|CHN|2008 Asian Beach Games}} China
  • {{flagIOC2|HKG|1954 Asian Games}} Hong Kong (Uses historical flag)
  • {{flagIOC2|JPN|2009 Asian Indoor Games|100}} Jepun (100)

flagIOC / flagIPC[sunting sumber]

  • {{flagIOC|USA}} Amerika Syarikat
  • {{flagIOC|GER|Winter}} Jerman
  • {{flagIOC|ESP|2004 Summer}} Sepanyol
  • {{flagIOC|CAN|2006 Winter}} Kanada
  • {{flagIOC|CAN|1924 Winter}} Kanada (Uses historical flag)
  • {{flagIOC|GRE|2004 Summer|441}} Yunani (441)
  • {{flagIPC|GRE|2004 Summer|441}}Flag of Greece.svg Yunani 

flagCGF[sunting sumber]

flagSEAGF[sunting sumber]

  • {{flagSEAGF|VIE|1973}} Vietnam (Uses historical flag)
  • {{flagSEAGF|MAS|1961}} Malaysia
  • {{flagSEAGF|MYA|2013}} Myanmar
  • {{flagSEAGF|VIE|2015|400}} Vietnam (400)

Others[sunting sumber]

Supporting templates[sunting sumber]

See also[sunting sumber]

Gaya paparan → Nama negara Negara (kod) Atlet (negara) Atlet
Negara
Kod negara
Sukan Olimpik {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}} {{FlagIOCshort}}
Sukan lain {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}} {{FlagIOC2short}}
Sukan Paralimpik {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}} {{FlagIPCshort}}
Pan Amerika {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
Parapan Amerika {{FlagPPASO}}
Sukan Komanwel {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
Asia Tenggara {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}}
Sukan Dunia {{FlagIWGA}}
Sukan Amerika Tengah dan Caribbean {{FlagCAC}}
Sukan Asia {{FlagOCA}}
"Nation at Championships"-style {{Flaglinkteam}} {{FlagATHCHathlete}}
Generic {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Generic (varian) {{Flaglink}} {{Flaglinkmedalist}}

Lihat juga[sunting sumber]

Gaya paparan → Nama negara Negara (kod) Atlet (negara) Atlet
Negara
Kod negara
Sukan Olimpik {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}} {{FlagIOCshort}}
Sukan lain {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}} {{FlagIOC2short}}
Sukan Paralimpik {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}} {{FlagIPCshort}}
Pan Amerika {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
Parapan Amerika {{FlagPPASO}}
Sukan Komanwel {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
Asia Tenggara {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}}
Sukan Dunia {{FlagIWGA}}
Sukan Amerika Tengah dan Caribbean {{FlagCAC}}
Sukan Asia {{FlagOCA}}
"Nation at Championships"-style {{Flaglinkteam}} {{FlagATHCHathlete}}
Generic {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Generic (varian) {{Flaglink}} {{Flaglinkmedalist}}