Template:Infobox SEA Games event
Appearance
| SEA Games |
|---|
| 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 only work here if they have been added to this template. If you have questions, ask at the talk page! |
| This template uses Lua: |
Usage
{{Infobox SEA Games event
| event =
| year =
| image =
| image_size =
| alt =
| caption =
| venue =
| venues =
| date =
| start_date = {{Start date|YYYY|MM|DD|mf=y}}
| end_date = {{End date|YYYY|MM|DD|mf=y}}
| competitors =
| nations =
| teams =
| win_label =
| win_value =
| website = {{Official URL|}}
| gold =
| gold_nation =
| gold2 =
| gold2_nation =
| silver =
| silver_nation =
| bronze =
| bronze_nation =
| prev =
| next =
}}
Parameters
- event
- (required) Name of the individual event only
- year
- (required) Year such as
2006or1954, 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|mf=y}}and{{End date|YYYY|MM|DD|mf=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={{flag PASO team|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}} - goldNOC, silverNOC, bronzeNOC
- (Optional) PASO 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 goldNOC2
- 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.). - prev
- Link to article on the same event/sport from the previous edition of the Pan American Games
- next
- Link to article on the same event/sport from the following edition of the Pan American Games
Example
| SEA Games | |
|---|---|
| Start date | Error: All values must be integers (help) |
| End date | Error: All values must be integers (help) |
{{Infobox SEA Games event
| event =
| year =
| image =
| image_size =
| alt =
| caption =
| venue =
| venues =
| date =
| start_date = {{Start date|YYYY|MM|DD|mf=y}}
| end_date = {{End date|YYYY|MM|DD|mf=y}}
| competitors =
| nations =
| teams =
| win_label =
| win_value =
| website = {{Official URL|}}
| gold =
| goldNOC =
| gold2 =
| goldNOC2 =
| silver =
| silverNOC =
| bronze =
| bronzeNOC =
| prev =
| next =
}}
Categories
Microformat
- 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.