Skabelon:Infoboks olympisk begivenhed

Fra Wikipedia, den frie encyklopædi
Gå til: navigation, søg
Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]


Usage[redigér wikikode]

{{Infobox Olympic event
| event = 
| games = 
| image = 
| caption = 
| venue = 
| dates = {{Start date|YYYY|MM|DD}}
| competitors = 
| nations = 
| teams = 
| governing_body = 
| win_value =
| gold = 
| goldNOC = 
| gold2 = 
| goldNOC2 = 
| silver = 
| silverNOC = 
| bronze = 
| bronzeNOC = 
| prev = 
| next = 
}}

Parameters[redigér wikikode]

event
Required for infobox title
games
String som sommer-OL 2008 eller vinter-OL 2006, for eksempel
image
(Optional) complete image syntax
caption
(Optional) displays under the image
venue or venues
Required
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
governing_body
Optional, name of International Governing body for the sport
win_value
Optional, winning time or score. Use win_label = Winning score to change the label from Winning time to Winning score, for example.
gold, silver, bronze
Athlete name or team name. Use gold = {{flagIOCteam|CHN|2008 Summer}} (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) 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 goldNOC, 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 Olympic Games
next
Link to article on the same event/sport from the following edition of the Olympic Games

Eksempel[redigér wikikode]

400 meter individual medley mænd
under det 29. sommer-OL 2008
Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
Medaljevindere
Sted Beijing National Aquatics Center
Datoer 9. august 2008 (2008-08-09) (indledende)
10. august 2008 (finale)
Atleter 29 fra 22 nationer
Medaljevindere
1 Michael Phelps USA
2 László Cseh Ungarn
3 Ryan Lochte USA
← 2004
2012 →
{{Infobox Olympic event
| event = 400 meter individual medley mænd
| games = sommer-OL 2008
| image = [[Image:Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg|240px]]
| caption = Medaljevindere
| venue = [[Beijing National Aquatics Center]]
| dates = {{Start date|2008|08|09}} (heats)<br/>{{End date|2008|08|10}} (final)
| competitors = 29
| nations = 22
| gold = [[Michael Phelps]]
| goldNOC = USA
| silver = [[László Cseh]]
| silverNOC = HUN
| bronze = [[Ryan Lochte]]
| bronzeNOC = USA
| prev = [[Svømning under sommer-OL 2004 – 400 meter individuel medley mænd|2004]]
| next = [[Svømning under sommer-OL 2012 – 400 meter individuel medley mænd|2012]]
}}


Microformat[redigér wikikode]

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 this microformat uses 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.