Templat:FlagIOC2team/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Adi ARIES (bicara | kontrib)
 
(5 revisi perantara oleh 4 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 ==
* <code><nowiki>{{flagIOC2team|CHN|AsianPesta GamesOlahraga Asia}}</nowiki></code> → {{flagIOC2team|CHN|AsianPesta Olahraga GamesAsia}}
* <code><nowiki>{{flagIOC2team|CHN|1994Pesta AsianOlahraga GamesAsia 1994}}</nowiki></code> → {{flagIOC2team|CHN|1994 AsianPesta GamesOlahraga Asia 1994}}
* <code><nowiki>{{flagIOC2team|CHN|2009Pesta AsianOlahraga IndoorDalam GamesRuangan 2009}}</nowiki></code> → {{flagIOC2team|CHN|2009Pesta AsianOlahraga IndoorDalam GamesRuangan 2009}}
* <code><nowiki>{{flagIOC2team|HKG|1954Pesta AsianOlahraga GamesAsia 1954}}</nowiki></code> → {{flagIOC2team|HKG|1954Pesta AsianOlahraga GamesAsia 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 ==
Baris 23 ⟶ 25:
 
[[en:Template:FlagIOC2team/doc]]
[[vi:TiêuBản bảnmẫu:FlagIOC2team]]
</includeonly>