Templat:Infobox Commonwealth Games event/doc
Ini ialah sublaman pendokumenan untuk Templat:Infobox Commonwealth Games event. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
Ini adalah pembalut untuk Templat:Infobox sports competition event.
Penggunaan
[sunting sumber]{{Infobox Commonwealth Games event | event = | year = | image = | image_size = | alt = | caption = | venue = | venues = | date = | start_date = {{Start date|YYYY|MM|DD|df=y}} | end_date = {{End date|YYYY|MM|DD|df=y}} | competitors = | nations = | teams = | win_label = | win_value = | website = {{Official URL|}} | gold = | gold_nation = | gold2 = | gold2_nation = | silver = | silver_nation = | bronze = | bronze_nation = | previous = | next = }}
Parameter
[sunting sumber]- event
- (perlu) Nama pertandingan sahaja
- year
- (perlu) Tahun cth
2006
atau1954
- image
- nama fail imej
- image_size
- (pilihan) nyatakan lebar atau saiz dalam px
- alt
- alt text untuk imej
- caption
- (pilihan) dipaparkan di bawah imej
- venue or venues
- (salah satunya mesti dinyatakan)
- date
- perlu jika pertandingan hanya dalam satu hari.
- start_date and end_date
- perlu untuk pertandingan dalam banyak hari. Guna
{{Start date|YYYY|MM|DD|df=y}}
dan{{End date|YYYY|MM|DD|df=y}}
- competitors
- (optional) total number of competitors for individual events
- teams
- (optional, only in team-sports) number of teams in the tournament for team sports
- nations
- (optional) total number of unique nations represented
- win_time or win_score
- winning time or score; choice of parameter affects the label.
- win_label and win_value
- use this to specify an alternative label and value
- gold, silver, bronze
- Athlete name or team name. Use
|gold={{flagCGFteam|IND|2010}}
(for example) for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with{{plainlist}}
- gold_nation, silver_nation, bronze_nation
- (Optional) country code for the gold medal winner. Do not specify this if the
|gold=
parameter specifies a team name instead of an individual name. - gold2 and gold2_nation
- As for
|gold=
and|gold_nation=
, but used for situations where there is a tie for first place and two gold medals are awarded (The template currently supports up to three of each medal type.). - previous
- Link to article on the same event/sport from the previous edition of the Commonwealth Games
- next
- Link to article on the same event/sport from the following edition of the Commonwealth Games
Contoh
[sunting sumber]Women's 10 metre air pistol pairs di 2010 Sukan Komanwel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Tempat | Dr. Karni Singh Shooting Range | |||||||||
Tarikh | 12 Oktober 2010 | |||||||||
Pesaing | 8 pairs dari 8 negara | |||||||||
Winning points | 75921 | |||||||||
Pemenang pingat | ||||||||||
| ||||||||||
{{Infobox Commonwealth Games event | event = Women's 10 metre air pistol pairs | year = 2010 | image = 2010 CWG 10 metre air pistol pairs women.png | image_size = 240px | caption = Medal winners | venue = [[Dr. Karni Singh Shooting Range]] | date = {{Start date|2010|10|12|df=yes}} | competitors = 8 pairs | nations = 8 | win_label = Winning points | win_value = 759<sup>21</sup> | gold = [[Heena Sidhu]]<br />[[Annu Raj Singh]] | gold_nation = IND | silver = [[Dina Aspandiyarova]]<br />[[Pamela McKenzie]] | silver_nation = AUS | bronze = [[Dorothy Ludwig]]<br />[[Lynda Hare]] | bronze_nation = CAN | previous = [[Shooting at the 2006 Commonwealth Games – Women's 10 metre air pistol pairs|2006]] | next = [[Shooting at the 2014 Commonwealth Games – Women's 10 metre air pistol pairs|2014]] }}
Mikroformat
[sunting sumber]Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCalendar, yang menjadikan butiran peristiwa atau acara boleh dihuraikan oleh komputer, sama ada bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada kalendar atau perisian buku harian (diari).
Tarikh hanya akan disertakan jika anda menggunakan {{Tarikh mula}} atau {{Tarikh akhir}} (gunakan yang sebelumnya untuk tarikh yang tunggal; tetapi jangan gunakan kedua-duanya jika tarikhnya adalah sebelum 1583 CE).
URL hanya akan dimasukkan jika anda menggunakan {{URL}}.
- Kelas yang digunakan
hCalendar menggunakan kelas-kelas HTML yang berikut:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.
Lihat juga
[sunting sumber]- Templat:Infobox sports competition event
- Templat:Infobox Olympic event
- Templat:Infobox Pan American Games event
- Templat:Infobox Southeast Asian Games event
- Templat:Infobox Asian Games event