Template:Infobox Olympic games
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template uses Lua: |
{{Infobox Olympic games}} is an {{Infobox}}-based template designed to summarise the most important details of a specific running of a Summer Olympic Games, Winter Olympic Games, Summer Paralympic Games, Winter Paralympic Games, or Youth Olympic Games. It is largely designed to inform a casual reader somewhat knowledgeable in sports and the Olympic and Paralympic games in general of the games' locale, time, graphic design, and amount of athletes and events, along with the venue and names of notable people associated with the games. This infobox makes use of a four image parameters, twelve data cells, and six succession cells. The syntax of the infobox also makes use of 27 {{#if:}}
, eighteen {{#ifeq:}}
, four {{#ifexpr:}}
, three {{#expr:}}
, and two {{#ifexist:}}
parser functions, along with a hCalendar microformat.
Syntax
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Host city | {{{host_city}}} |
---|---|
Motto | {{{motto}}} |
Nations | {{{nations}}} |
Athletes | {{{athletes}}} |
Events | {{{events}}} |
Opening | {{{opening}}} |
Closing | {{{closing}}} |
Opened by | {{{opened_by}}} |
Closed by | {{{closed_by}}} |
Cauldron | {{{cauldron}}} |
Stadium | {{{stadium}}} |
{{Infobox Olympic games| 1 | 2 | 3 |
| image =
| image_size =
| alt =
| caption =
| host_city =
| motto =
| nations =
| athletes =
| events =
| opening =
| closing =
| opened_by =
| closed_by =
| cauldron =
| stadium =
| website =
| summer_prev =
| summer_next =
| winter_prev =
| winter_next =
| prev =
| next =
}}
Parameters
Header and image
{{Infobox Olympic games}} uses three blank parameters at the beginning of the template's syntax, 1
, 2
, 3
. These are used to set the year, season, and games being detailed, in that specific order. For example, in the article for the
{{#ifexpr:}}
1
parameter is set to a year past 1997. If not, this setup is cancelled out and the default frameless
size applies. An optional caption
parameter also exists than enables users to write a descriptive caption for an image featured in the image
parameter.
Cells
Cell | Parameter(s) | Description |
---|---|---|
Host city | host_city
|
This parameter is used to input the city that is hosting the games and its sovereign state. It should be presented in the format of [city], [country], with the country not being wikilinked per manual of style guidelines. For example, if the parameters are set to the values representing the 2006 Winter Olympics, " , Italy"
2006 " and "Winter ", the data for this cell will appear as "Turin |
Motto | motto
|
This parameter is used to input the official motto of the games. If there are multiple mottos for a particular games, a consensus should preferably be reached to use the most common and recognised one. The motto should be presented in italicised form, using two wikilink to the article on that language. For example, the motto of the 2004 Summer Olympics should be written up as:{{Plainlist|
* ''Welcome home''
* ([[Greek language|Greek]]: Καλώς ήλθατε σπίτι, Kalós ílthate spíti)
}}
|
Nations | nations
|
This parameter is used to input the number of National Olympic Committees (NOCs) present at the games. A simple number input is highly encouraged here, regardless of any special event or occasion, such as the merging of two or more nations in a single team for a particular games, which can be detailed in the article body instead. For example, the input for this parameter in the 1988 Winter Olympics article, where 57 NOCs competed, would simply be "57". |
Athletes | athletes
|
This parameter is used to input the number of athletes that competed at the games. A total figure should be presented first in front of the number of men and women competing in parentheses following it. For example, the input for this parameter in the article for the 1996 Summer Olympics , where 6,797 men and 3,523 women competed, should be presented as "10,320 (6,797 men, 3,523 women)".
|
Events | events
|
This parameter is used to list the number of events that took place at the games, along with the number of sports and disciplines features. It is preferably presented in the "[number of events] in [number of sports] sports ([number of disciplines] disciplines)". For example, if the parameters are set to the values representing the 1956 Winter Olympics, "1956 " and "Winter ", the data for this cell will appear as "24 in 4 sports (8 disciplines)".
|
Opening | opening
|
These parameters are used to present the date of the games' opening and closing ceremonies in a simple "[day] [month]" format, such as "27 July" and "12 August" for the 2012 Summer Olympics, when the two parameters are set to "2012 " and "Summer ". Two {{#ifexist:}} parser functions are also used to check if wikipedia articles exist for the opening and/or closing ceremonies. If so, a wikilink to that article will be placed in the Opening and/or Closing cell headers.
|
Closing | closing
| |
Opened by | opened_by
|
This parameter is used to input the name of the person who officially opened the games at the opening ceremony. Their formal shorthand title, followed by their common name is highly encouraged. For example, in the article for the 2000 Summer Olympics, the name of the person who opened the games, the knighted then-Governor-General of Australia William Deane, should be presented in this parameter as "Governor-General Sir William Deane". |
Cauldron
|
cauldron
|
This parameter is used to input the lit the Olympic cauldron. Any special citizenship titles, such as the knighthood of "Sir", may be appropriate, but only if they held those titles at the time of the opening ceremony. If multiple people were involved with lighting the cauldron, a {{Plainlist }} format is highly encouraged.
|
Stadium | stadium
|
This parameter is used to display the stadium that hosted the opening ceremony of the games. The common, non-sponsorship name of the venue is presented in this cell, with a wikilink to the article about the venue. For example, the article for the 2010 Winter Olympics, which will have the " in this cell.
1 and 2 parameters set to "2010 " and "Winter ", will display "BC Place |
Succession
The succession links at the bottom of the {{
prev
and next
, also exist to allow for situations in which the four main parameters do not apply, such as the 1906 Intercalated GamesMicroformat
The- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.