Template:Infobox SEA Games event
(Redirected from Template:Infobox Southeast Asian Games event)
| SEA Games |
|---|
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a customized wrapper for the {{Infobox sports competition event}} template, which means it's built upon the other template's code. Parameters from {{Infobox sports competition event}} will work here. However, the following are exceptions:
|
| This template adds an automatically generated short description. If the automatic short description is not optimal, override it by adding {{Short description}} at the top of the article. |
| This template uses Lua: |
Usage
{{Infobox SEA Games event
| event =
| games =
| image =
| caption =
| venue = <!-- or: venues -->
| date = <!-- or: dates, use {{Start date|YYYY|MM|DD}} -->
| num_events =
| competitors =
| nations =
| teams =
| win_value =
| gold =
| gold_nation =
| silver =
| silver_nation =
| bronze =
| bronze_nation =
| prev =
| next =
}}
Parameters
- event
- Required for infobox title
- games or year
- String such as
1959or2005, for example - image
- (Optional) image filename only
- image_size
- (Optional) defaults to 220px
- alt
- (Optional) alt text, see WP:MOSALT for more
- caption
- (Optional) displays under the image
- venue or venues
- Required
- num_events
- (Optional) total number of competitions for one "event" such as Athletics
- date or dates
- Required, date(s) of the competition. Use {{Start date}} (and {{End date}}) for the first (and last), over multiple lines if necessary.
- competitors
- (Optional) total number of competitors for individual events
- nations
- (Optional) total number of unique nations represented in this event
- teams
- (Optional) number of teams in the tournament for team sports
- win_value
- (Optional) winning time or score. Use
win_label = Winning scoreto change the label from Winning time to Winning score, for example. - gold, silver, bronze
- Athlete name or team name. Use
gold = {{flag IOC team|INA|2011}}(for example) for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with {{Plainlist}} - goldSEAGF, silverSEAGF, bronzeSEAGF or gold_nation, silver_nation, bronze_nation
- (Optional) country code for the gold medal winner. Do not specify this if the
goldparameter specifies a team name instead of an individual name. - gold2 and gold2_nation or goldSEAGF2
- As for
goldandgoldSEAGF, 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.). - prev or previous
- Link to article on the same event/sport from the previous edition of the Olympic Games
- next
- Link to article on the same event/sport from the following edition of the Olympic Games
Example
| SEA Games |
|---|
{{Infobox SEA Games event
| event =
| year =
| image =
| image_size =
| alt =
| caption =
| venue =
| venues =
| date =
| start_date =
| end_date =
| competitors =
| nations =
| teams =
| win_label =
| win_value =
| website =
| gold =
| goldSEAGF =
| gold2 =
| goldSEAGF2 =
| silver =
| silverSEAGF =
| bronze =
| bronzeSEAGF =
| prev =
| next =
}}
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.