This is the template sandbox page for Template:Infobox Olympic bid (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Documentation
editThis template has been setup so that it may be used on the overview page (e.g. Bids for the 2012 Summer Olympics) or on a bid page (e.g. London bid for the 2012 Summer Olympics). Depending on where it is used, there are different parameter setups that may be used. Since 2008, the staging of the Paralympic Games is automatically included in the bid. This has an optional parameter, to be added to the 2008 bids and after.
Overview page
edit{{Infobox Olympic bid|YEAR|SEASON|
|main = YES
|logo = <!-- Logo to represent the page or of the winning bid; in full link format -->
|logo-size = <!-- Default size is 200px -->
|map = <!-- Default size is 200px -->
|caption = <!-- Optional map caption -->
|winner = <!-- City that won the bid -->
|winner-article = <!-- (OPTIONAL) Article name of city that won the bid (if disambiguation is needed) -->
|votes1 = <!-- (OPTIONAL) Winner votes in the final round -->
|runner-up = <!-- City that came in second place (also on the shortlist) -->
|runner-up-article = <!-- (OPTIONAL) Article name of city that came in second place (if disambiguation is needed) -->
|votes2 = <!-- (OPTIONAL) Runner-up votes in the final round -->
|shortlisted1 = <!-- A city that was put on the shortlist -->
|shortlisted2 = <!-- A city that was put on the shortlist -->
|shortlisted3 = <!-- A city that was put on the shortlist -->
|shortlisted4 = <!-- A city that was put on the shortlist -->
|Paralympics = <!-- (OPTIONAL) 'Yes' -->
|1stBid = <!-- (OPTIONAL) Date of first bid -->
|2ndBid = <!-- (OPTIONAL) Date of second bid (if one) -->
|shortlist = <!-- (OPTIONAL) Date of shortlist decision (if one) -->
|decision = <!-- Date of final decision -->
|session = <!-- The IOC session and location where the final decision was made. Adding this directly to [[:Template:Infobox Olympic bid/Session]] is deprecated.-->
|notes = <!-- (OPTIONAL) Any other notes, placed at bottom of template -->
}}
Bids pages
edit{{Infobox Olympic bid|YEAR|SEASON|
|logo = <!-- Logo to represent the page or of the winning bid; in full link format -->
|logo-size = <!-- Default size is 150px -->
|map = <!-- Default size is 200px -->
|caption = <!-- Optional map caption -->
|slogan = <!-- Slogan of the campaign (image) -->
|slogan-size = <!-- Size in px -->
|winner = <!-- City that won the bid -->
|winner-article = <!-- (OPTIONAL) Article name of city that won the bid (if disambiguation is needed) -->
|runner-up = <!-- City that came in second place (also on the shortlist) -->
|runner-up-article = <!-- (OPTIONAL) Article name of city that came in second place (if disambiguation is needed) -->
|shortlisted1 = <!-- A city that was put on the shortlist -->
|shortlisted2 = <!-- A city that was put on the shortlist -->
|shortlisted3 = <!-- A city that was put on the shortlist -->
|shortlisted4 = <!-- A city that was put on the shortlist -->
|Paralympics = <!-- (OPTIONAL) 'Yes' -->
|fullname = <!-- Full name (city(, state), country) of the city this page is about -->
|chair = <!-- Chair of the city's committee -->
|committee = <!-- National Olympic Committee of the city -->
|history = <!-- List here any previous games held by this NOC; otherwise, write "None" -->
|result = <!-- Where did this city place after the decision -->
|score = <!-- What score did the IOC give this shortlisted city -->
|notes = <!-- (OPTIONAL) Any other notes, placed at bottom of template -->
}}
Maps
editTemplate:Infobox Olympic bid/Map holds the maps displayed by Template:Infobox Olympic bid.
TemplateData
editTemplateData for Infobox Olympic bid
This template has been setup so that it may be used on the overview page (e.g. [[Bids for the 2012 Summer Olympics]]) or on a bid page (e.g. [[London bid for the 2012 Summer Olympics]]). Depending on where it is used, there are different parameter setups that may be used.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | 1 | Year the games are to be held | Number | required |
Season | 2 | Are these summer or winter games?
| String | required |
Paralympics | Paralympics | Will the city also host the Paralympics? Since 2008, the staging of the Paralympic Games is automatically included in the bid.
| String | required |
Logo | logo | Logo to represent the page or of the winning bid
| File | optional |
Logo size | logo-size | If used, 'px' must be specified; default size is 200px.
| String | optional |
Logo alt text | logo-alt | Alt (hover) text for the logo image | String | optional |
Slogan image | slogan | For bid page: an image displaying the wordmark of the bid's slogan
| File | optional |
Slogan size | slogan-size | If used, 'px' must be specified; default size is 200px.
| Unknown | optional |
Slogan alt text | alt | Alt (hover) text for the slogan image | String | optional |
Winner | winner | City that won the bid
| String | optional |
Runner-up | runner-up | City that came in second place
| String | optional |
Shortlisted 1 | shortlisted1 | A city that was put on the shortlist
| String | optional |
Shortlisted 2 | shortlisted2 | Additional city put on the shortlist
| String | optional |
Shortlisted 3 | shortlisted3 | Additional city put on the shortlist
| String | optional |
Shortlisted 4 | shortlisted4 | Additional city put on the shortlist
| String | optional |
Shortlisted 5 | shortlisted5 | Additional city put on the shortlist
| String | optional |
Main | main | Is this an overview (main) page (e.g. [[Bids for the 2012 Summer Olympics]]) or on a bid page (e.g. [[London bid for the 2012 Summer Olympics]])?
| String | optional |
Full name | fullname | For bid page: full name (city(, /province/state), country) of the city this page is about
| String | optional |
Chair | chair | For bid page: the chairperson of the bidding city's committee | String | optional |
Committee | committee | For bid page: the National Olympic Committee of the bidding city
| String | optional |
Session | session | For overview page: the IOC Session and location where the final decision was made.
| String | optional |
Score | score | For bid page: what score did the IOC give this shortlisted city? | String | optional |
Second bid | 2ndBid | For overview page: date of the second bid (if one) | Date | optional |
First bid | 1stBid | For overview page: date of the first bid | Date | optional |
Shortlist decision | shortlist | For overview page: date of the shortlist decision (if one) | Date | optional |
Decision | decision | For overview page: date of the final decision | Date | optional |
History | history | For bid page: list any previous games held by this National Olympic Committee
| String | optional |
Result | result | For bid article: where did this city place after the final decision? | String | optional |
Winner article | winner-article | Article name of city that won the bid (if disambiguation is needed) | String | optional |
Votes 1 | votes1 | For overview page: winner votes in the final round | Number | optional |
Runner-up article | runner-up-article | Article name of city that came in second place (if disambiguation is needed) | String | optional |
Votes 2 | votes2 | For overview page: runner-up votes in the final round | Number | optional |
Notes | notes | Any other notes, placed at bottom of template | String | optional |