Templat:FlagIOC2team/doc
Penampilan
Ini ialah sublaman pendokumenan untuk Templat:FlagIOC2team. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
Halaman ini punya templat digunakan pada banyak laman dan perubahan besar-besaran mungkin akan ternampak. Sila uji perubahan di templat punya subhalaman kotak pasir atau laman uji kaji, atau pada sublaman pengguna anda. Pertimbang untuk membincang perubahan pada laman perbincangan sebelum melaksanakannya. |
Templat ini menggunakan 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 {{FlagIOC2team/doc}} for the other games not listed below
Usage
[sunting sumber]{{flagXXXteam|code|games}}
- code is the three-letter country-code is used by the IOC, CGF or FINA.
- games is a string with slightly different forms depending on the template used:
- {{FlagIOC2team}} takes values in the form
<year> <games>
, or just<games>
- {{FlagIOCteam}} and {{FlagIPCteam}} use
<year> Summer
or<Winter
- Games-specific template such as {{FlagCGFteam}}, {{FlagPASOteam}}, etc, simply take the
<year>
. See below for a full list of supported "shortcut" templates
- {{FlagIOC2team}} takes values in the form
- The intent is that this template is used from medal tables and 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
[sunting sumber]In addition to using historical flags when appropriate, the specific name of the games will be selected when appropriate.
flagIOC2team
[sunting sumber]((flagIOC2team|CHN|Sukan Asia}}
→ China (CHN){{flagIOC2team|CHN|Sukan Pantai Asia 2008}}
→ China (CHN){{flagIOC2team|HKG|Sukan Asia 1954}}
→ Hong Kong (HKG) (Uses historical flag){{flagIOC2team|JPN|Sukan Delam Dewan Asia 2009}}
→ Jepun (JPN)
flagIOCteam / flagIPCteam
[sunting sumber]{{flagIOCteam|USA}}
→ Amerika Syarikat (USA)-
{{flagIOCteam|GER|Musim Sejuk}}
→ Jerman (GER) {{flagIOCteam|CAN|Musim Sejuk 2006}}
→ Kanada (CAN){{flagIOCteam|CAN|Musim Sejuk 1924}}
→ Kanada (CAN) (Uses historical flag){{flagIOCteam|GRE|Musim Panas 2004}}
→ Yunani (GRE)
flagCGFteam
[sunting sumber]{{flagCGFteam|CAN}}
→ Kanada (CAN){{flagCGFteam|MAS|2006}}
→ Malaysia (MAS){{flagCGFteam|AUS|1974}}
→ Australia (AUS)-
{{flagCGFteam|NZL|1962}}
→ New Zealand (NZL) {{flagCGFteam|IND|1934}}
→ India (IND)
flagSEAGFteam
[sunting sumber]{{flagSEAGFteam|VIE|1973}}
→ Vietnam (VIE) (Uses historical flag){{flagSEAGFteam|MAS|1961}}
→ Persekutuan Tanah Melayu (MAS)-
{{FlagSEAGFteam|MYA|2013}}
→ Myanmar (MYA)
Supporting templates
[sunting sumber]- The country name is supplied by
{{country alias|AAA}}
where AAA is an IOC country code. - The flag image name is supplied by
{{country alias}}
- For the complete country code list with related names and flags, see Module:Country alias
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}} |
Seluruh 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}} | {{Flaglink}} | Flaglinkmedalist}} | ||