Templat:Infobox Southeast Asian Games event
Sukan Asia Tenggara |
---|
This is a customized wrapper for Template:Infobox sports competition event.
Usage
[sunting sumber]{{Infobox Southeast Asian 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 = }}
Parameters
[sunting sumber]- event
- (required) Name of the individual event only
- year
- (required) Year such as
2006
or1954
, for example - image
- file name of the image
- image_size
- (optional) specify width or size in px
- alt
- alt text for the image
- caption
- (optional) displayed below the image
- venue or venues
- (either of the two is required)
- date
- required for single-day events.
- start_date and end_date
- required for multi-day events. Use
{{Start date|YYYY|MM|DD|df=y}}
and{{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={{flagSEAGFteam|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 Southeast Asian Games
- next
- Link to article on the same event/sport from the following edition of the Southeast Asian Games
Example
[sunting sumber]2015 Sukan Asia Tenggara | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tempat | OCBC Arena Hall 2 | ||||||||||||
Tarikh | 07 Jun 2015 | ||||||||||||
Pesaing | 6 national teams | ||||||||||||
Pemenang pingat | |||||||||||||
| |||||||||||||
{{Infobox Southeast Asian Games event | event = Fencing – Women's team épée | year = 2015 | image = Fencing pictogram.svg | image_size = 80px | caption = | venue = [[Singapore Sports Hub|OCBC Arena Hall 2]] | date = {{Start date|2015|06|07|df=y}} | competitors = 23 | nations = 6 | gold = {{plainlist| * [[Nguyễn Thanh Vân]] * [[Nguyễn Thị Như Hoa]] * [[Trần Thị Len]] * [[Trần Thị Thùy Trinh]] }} | gold_nation = VIE | silver = {{plainlist| * [[Abella Hanniel]] * [[Estimada Anna Gabriella]] * [[Harlene Raguin]] * [[Pangilinan Keren]] }} | silver_nation = PHI | bronze = {{plainlist| * [[Lim Cheryl]] * [[Lim Elizabeth Ann Yu Yan]] * [[Lim Victoria Ann Xiu Yan]] * [[Rahardja Rania Herli]] }} | bronze_nation = SIN | bronze2 = {{plainlist| * [[Idar Isnawaty]] * [[Megawati Megawati]] * [[Nurhidayati Jeanned]] * [[Pertiwi Dian]] }} | bronze2_nation = INA | previous = [[Fencing at the 2011 Southeast Asian Games#Individual Épée|2011]] | next = [[Fencing at the 2017 Southeast Asian Games – Women's team épée|2017]] }}
Microformat
[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.