Templat:FlagIOC2team/doc: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
k Robot: Perubahan kosmetika |
kTidak ada ringkasan suntingan |
||
Baris 10: | Baris 10: | ||
== Contoh == |
== Contoh == |
||
* <code><nowiki>{{flagIOC2team|CHN| |
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Asia}}</nowiki></code> → {{flagIOC2team|CHN|Pesta Olahraga Asia}} |
||
* <code><nowiki>{{flagIOC2team|CHN| |
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Asia 1994}}</nowiki></code> → {{flagIOC2team|CHN|1994 Pesta Olahraga Asia 1994}} |
||
* <code><nowiki>{{flagIOC2team|CHN| |
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Dalam Ruangan 2009}}</nowiki></code> → {{flagIOC2team|CHN|Pesta Olahraga Dalam Ruangan 2009}} |
||
* <code><nowiki>{{flagIOC2team|HKG| |
* <code><nowiki>{{flagIOC2team|HKG|Pesta Olahraga Asia 1954}}</nowiki></code> → {{flagIOC2team|HKG|Pesta Olahraga Asia 1954}} |
||
* <code><nowiki>{{flagIOC2team|BIR|Pesta Olahraga Asia 1954}}</nowiki></code> → {{flagIOC2team|BIR|Pesta Olahraga Asia 1954}} |
|||
* <code><nowiki>{{flagIOC2team|BIR|1958 Asian Games}}</nowiki></code> → {{flagIOC2team|BIR|1958 Asian Games}} |
|||
== Lihat pula == |
== Lihat pula == |
Revisi per 19 Februari 2019 02.44
Usage
{{flagIOCteam|code|games}}
This template is used to display a small flag and name of a country, with a wikilink to the country's page for the specified Olympic games.
- code is an International Olympic Committee country code (see List of IOC country codes).
- games is a string of the form <year> <games>, just <games>. 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.
Contoh
{{flagIOC2team|CHN|Pesta Olahraga Asia}}
→ Tiongkok (CHN){{flagIOC2team|CHN|Pesta Olahraga Asia 1994}}
→ Tiongkok (CHN){{flagIOC2team|CHN|Pesta Olahraga Dalam Ruangan 2009}}
→ Tiongkok (CHN){{flagIOC2team|HKG|Pesta Olahraga Asia 1954}}
→ Hong Kong (HKG){{flagIOC2team|BIR|Pesta Olahraga Asia 1954}}
→ Burma (BIR){{flagIOC2team|BIR|1958 Asian Games}}
→ Burma (BIR)
Lihat pula