Lompat ke isi

Templat:FlagIOC2team/doc: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
Adi ARIES (bicara | kontrib)
 
(6 revisi perantara oleh 5 pengguna tidak ditampilkan)
Baris 2: Baris 2:


== Usage ==
== Usage ==
<code><nowiki>{{flagIOCteam|code|games}}</nowiki></code>
<code><nowiki>{{flagXXX|code|games}}</nowiki></code>


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.
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]]).
* ''code'' is an [[International Olympic Committee]] country code (see [[List of IOC country codes]]).
* ''games'' is a string of the form <tt><year> <games></tt>, just <tt><games></tt>. 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.
* ''games'' is a string of the form <code><year> <games></code>, just <code><games></code>. 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 ==
== Contoh ==
* <code><nowiki>{{flagIOC2team|CHN|Asian Games}}</nowiki></code> → {{flagIOC2team|CHN|Asian Games}}
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Asia}}</nowiki></code> → {{flagIOC2team|CHN|Pesta Olahraga Asia}}
* <code><nowiki>{{flagIOC2team|CHN|1994 Asian Games}}</nowiki></code> → {{flagIOC2team|CHN|1994 Asian Games}}
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Asia 1994}}</nowiki></code> → {{flagIOC2team|CHN|1994 Pesta Olahraga Asia 1994}}
* <code><nowiki>{{flagIOC2team|CHN|2009 Asian Indoor Games}}</nowiki></code> → {{flagIOC2team|CHN|2009 Asian Indoor Games}}
* <code><nowiki>{{flagIOC2team|CHN|Pesta Olahraga Dalam Ruangan 2009}}</nowiki></code> → {{flagIOC2team|CHN|Pesta Olahraga Dalam Ruangan 2009}}
* <code><nowiki>{{flagIOC2team|HKG|1954 Asian Games}}</nowiki></code> → {{flagIOC2team|HKG|1954 Asian Games}}
* <code><nowiki>{{flagIOC2team|HKG|Pesta Olahraga Asia 1954}}</nowiki></code> → {{flagIOC2team|HKG|Pesta Olahraga Asia 1954}}
* <code><nowiki>{{flagIOC2team|BIR|Pesta Olahraga Asia 1958}}</nowiki></code> → {{flagIOC2team|BIR|Pesta Olahraga Asia 1958}}
* <code><nowiki>{{flagIOC2team|BIR|Pesta Olahraga Asia 1958}}</nowiki></code> → {{flagIOC2team|BIR|Pesta Olahraga Asia 1958}}


== Lihat pula ==
== Lihat pula ==
Baris 20: Baris 22:


<includeonly>
<includeonly>
[[Kategori:Templta bendera olimpiade]]
[[Kategori:Templat bendera olimpiade]]


[[en:Template:FlagIOC2team/doc]]
[[en:Template:FlagIOC2team/doc]]
[[vi:Tiêu bản:FlagIOC2team]]
[[vi:Bản mẫu:FlagIOC2team]]
</includeonly>
</includeonly>

Revisi terkini sejak 11 Juni 2022 09.37

{{flagXXX|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.
  • {{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 1958}} Burma (BIR)
  • {{flagIOC2team|BIR|Pesta Olahraga Asia 1958}} Burma (BIR)

Lihat pula

[sunting sumber]