Templat:FlagIOC2team/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
 
(2 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 2:
 
== Usage ==
<code><nowiki>{{flagIOCteamflagXXX|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.
 
* ''code'' is an [[International Olympic Committee]] country code (see [[List of IOC country codes]]).
* ''games'' is a string of the form <ttcode><year> <games></ttcode>, just <ttcode><games></ttcode>. 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 ==
Baris 15:
* <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|1958Pesta AsianOlahraga GamesAsia 1958}}</nowiki></code> → {{flagIOC2team|BIR|1958Pesta AsianOlahraga GamesAsia 1958}}
 
== Lihat pula ==