Template:Infobox Pan American Games event/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{Infobox Pan American 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 2006 or 1954, 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={{flagPASOteam|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) 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 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 Pan American Games
next
Link to article on the same event/sport from the following edition of the Pan American Games

Example

Individual event

Boxing at the 2011 Pan American Games – Welterweight

Boxing – Men's welterweight at the XVI Pan American Games
VenueExpo Guadalajara Arena
Start dateOctober 22, 2011 (2011-10-22)
End dateOctober 29, 2011 (2011-10-29)
Competitors11 from 11 nations
Medalists
Gold medal 
Silver medal 
Bronze medal 
Bronze medal 
2015»
{{Infobox Pan American Games event
| event          = Boxing – Men's welterweight
| year           = 2011
| image          = Boxing pictogram.svg
| image_size     = 80px
| venue          = [[Expo Guadalajara Arena]]
| dates          = October 22–29, 2011
| competitors    = 11
| nations        = 11
| gold           = [[Carlos Banteux]]
| gold_nation    = CUB
| silver         = [[Oscar Molina]]
| silver_nation  = MEX
| bronze         = [[Mian Hussain]]
| bronze_nation  = CAN
| bronze2        = [[Myke Carvalho]]
| bronze2_nation = BRA
| previous       = [[Boxing at the 2007 Pan American Games|2007]]
| next           = [[Boxing at the 2015 Pan American Games – Men's Welterweight|2015]]
}}

Team event

Archery at the 2015 Pan American Games – Men's team

Archery – Men's team at the XVII Pan American Games
VenueVarsity Stadium
DatesJuly 14–17
Competitors21 from 7 nations
Medalists
Gold medal   Mexico
Silver medal   United States
Bronze medal   Brazil
«2011
{{Infobox Pan American Games event
|event = Archery – Men's team
|games = 2015
|image = Archery pictogram.svg
|image_size = 80px
|caption = 
|venue = [[Varsity Stadium]]
|dates = July 14–17
|competitors = 21
|nations = 7
|win_value = 
|win_label = Winning score
|gold  = {{ubl|[[Juan René Serrano]]  |[[Ernesto Horacio Boardman]]|[[Luis Álvarez (archer)|Luis Álvarez]]}}
|goldNOC  = MEX
|silver  = {{ubl|[[Zach Garrett]] |[[Brady Ellison]]|[[Collin Klimitchek]]}}
|silverNOC = USA
|bronze = {{ubl|[[Marcus Vinicius D'Almeida]]|[[Bernardo Oliveira]]|[[Daniel Xavier]]}}
|bronzeNOC = BRA
|prev = [[Archery at the 2011 Pan American Games – Men's team|2011]]
|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.

Tracking category

See also