Templat:IOC year/doc: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
|||
Baris 4:
Use {{t|{{PAGENAME}}}} for {{#switch:{{PAGENAME}}
| IOC year = Olimpiade
| CGF year = Pesta Olahraga Persemakmuran
| AFOC year = Pesta Olahraga Afrika
| OCA year = Pesta Olahraga Asia
| SEAGF year = Pesta Olahraga Asia Tenggara
| EOC year = Pesta Olahraga Eropa
| PASO year = Pesta Olahraga Amerika
| CIJM year = Pesta Olahraga Mediterania
| #default = other games not [[#See also|listed below]]
}}.
== Usage ==
<code><nowiki>{{</nowiki>{{#switch:{{PAGENAME}}
| IOC year = {{PAGENAME}}
| CGF year = {{PAGENAME}}
| AFOC year = {{PAGENAME}}
| OCA year = {{PAGENAME}}
| SEAGF year = {{PAGENAME}}
| EOC year = {{PAGENAME}}
| PASO year = {{PAGENAME}}
| CIJM year = {{PAGENAME}}
| FISU year = {{PAGENAME}}
| #default = XXX year
}}<nowiki>|YYYY}}</nowiki></code>{{#switch:{{PAGENAME}}
| IOC year = or <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|YYYY|type=TYPE}}</nowiki></code>
| CGF year =
| AFOC year =
| OCA year =
| SEAGF year =
| EOC year =
| PASO year =
| CIJM year =
| FISU year =
| #default = or <code><nowiki>{{XXX year|YYYY|type=TYPE}}</nowiki></code>
* ''XXX'' is organizer code. IOC for Olympics, CGF for Commonwealth and EOC for European etc.
}}
* ''YYYY'' is a the year to be validated.
{{#switch:{{PAGENAME}}
| CGF year =
| AFOC year =
| OCA year =
| SEAGF year =
| EOC year =
| CIJM year =
| FISU year =
| IOC year =
| #default = * ''TYPE'' is relevant to {{tl|IOC year}} only. Accepts "Summer" or "Winter".
}}
|