Template:Infobox Pan American Games event/doc

From The Global Wiki
< Template:Infobox Pan American Games event
Revision as of 01:15, 18 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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        = 
| goldNOC     = 
| gold2       = 
| goldNOC2    = 
| silver      = 
| silverNOC   = 
| bronze      = 
| bronzeNOC   = 
| 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}}
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

Individual event

Boxing at the 2011 Pan American Games – Welterweight

Boxing – Men's welterweight at the XVI Pan American Games
File:Boxing pictogram.svg
VenueExpo Guadalajara Arena
Start dateOctober 22, 2011 (2011-10-22)
End dateOctober 29, 2011 (2011-10-29)
Competitors11 from 11 nations
Medalists
Gold medal  Script error: No such module "Country alias".
Silver medal  Script error: No such module "Country alias".
Bronze medal  Script error: No such module "Country alias".
Bronze medal  Script error: No such module "Country alias".
«2007
2015»
{{Infobox Pan American Games event
| event       = Boxing – Men's welterweight
| year        = 2011
| image       = Boxing pictogram.svg
| image_size  = 80px
| venue       = [[Expo Guadalajara Arena]]
| start_date  = {{start date|2011|10|22}}
| end_date    = {{end date|2011|10|29}}
| competitors = 11
| nations     = 11
| gold        = [[Carlos Banteux]]
| goldNOC     = CUB
| silver      = [[Oscar Molina]]
| silverNOC   = MEX
| bronze      = [[Mian Hussain]]
| bronzeNOC   = CAN
| bronze2     = [[Myke Carvalho]]
| bronzeNOC2  = BRA
| prev        = [[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
File:Archery pictogram.svg
VenueVarsity Stadium
DatesJuly 14–17
Competitors21 from 7 nations
Medalists
Gold medal  Script error: No such module "Country alias".
Silver medal  Script error: No such module "Country alias".
Bronze medal  Script error: No such module "Country alias".
«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