Templat:FlagIOC2team/doc: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
←Membuat halaman berisi '{{Subhalaman dokumentasi}} <!-- TAMBAHKAN KATEGORI DAN PRANALA ANTARBAHASA DI BAGIAN PALING BAWAH HALAMAN INI --> === Penggunaan === === Lihat pula === <includeonly...' |
|||
(8 revisi perantara oleh 6 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
{{Subhalaman dokumentasi}} |
{{Subhalaman dokumentasi}} |
||
<!-- TAMBAHKAN KATEGORI DAN PRANALA ANTARBAHASA DI BAGIAN PALING BAWAH HALAMAN INI --> |
|||
=== Penggunaan === |
|||
=== Lihat pula === |
|||
<includeonly> |
|||
<!-- KATEGORI DAN PRANALA ANTARBAHASA DILETAKKAN DI SINI --> |
|||
</includeonly> |
|||
{{Documentation subpage}} |
|||
== Usage == |
== Usage == |
||
<code><nowiki>{{ |
<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 < |
* ''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 == |
||
* <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 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 == |
||
*[[ |
*[[Templat:FlagIOCteam]] |
||
*[[ |
*[[Templat:FlagPASOteam]] |
||
<includeonly> |
<includeonly> |
||
[[Kategori:Templat bendera olimpiade]] |
|||
[[Category:Olympics flag templates]] |
|||
[[ |
[[en:Template:FlagIOC2team/doc]] |
||
[[vi:Bản mẫu:FlagIOC2team]] |
|||
</includeonly> |
</includeonly> |
Revisi terkini sejak 11 Juni 2022 09.37
Usage
[sunting sumber]{{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.
Contoh
[sunting sumber]{{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]