Difference between revisions of "Template:IOC games"
Jump to navigation
Jump to search
imported>PhilipTerryGraham (Undid revision 880226251 by 5.100.82.212 (talk)) |
imported>Trappist the monk m (→top: support hyphenated parameter names) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 101: | Line 101: | ||
|2016 Summer Olympics | |2016 Summer Olympics | ||
|2016 Summer=Rio de Janeiro 2016 | |2016 Summer=Rio de Janeiro 2016 | ||
| + | |2018 Winter Olympics | ||
| + | |2018 Winter=Pyeongchang 2018 | ||
| + | |2020 Summer Olympics | ||
| + | |2020 Summer=Tokyo 2020 | ||
| + | |2022 Winter Olympics | ||
| + | |2022 Winter=Beijing 2022 | ||
| + | |2024 Summer Olympics | ||
| + | |2024 Summer=Paris 2024 | ||
| + | |2026 Winter Olympics | ||
| + | |2026 Winter=Milano-Cortina 2026 | ||
| + | |2028 Summer Olympics | ||
| + | |2028 Summer=Los Angeles 2028 | ||
|#default=Olympic Games}} | |#default=Olympic Games}} | ||
|work=Olympic.org | |work=Olympic.org | ||
|publisher=International Olympic Committee | |publisher=International Olympic Committee | ||
| − | | | + | |access-date={{{access-date|{{{accessdate|}}}}}} |
|url=https://www.olympic.org/{{#switch:{{{games}}} | |url=https://www.olympic.org/{{#switch:{{{games}}} | ||
|1896 Summer Olympics | |1896 Summer Olympics | ||
| Line 206: | Line 218: | ||
|2016 Summer Olympics | |2016 Summer Olympics | ||
|2016 Summer=Rio-2016-summer-olympics | |2016 Summer=Rio-2016-summer-olympics | ||
| + | |2018 Winter Olympics | ||
| + | |2018 Winter=Pyeongchang-2018-winter-olympics | ||
| + | |2020 Summer Olympics | ||
| + | |2020 Summer=Tokyo-2020-summer-olympics | ||
| + | |2022 Winter Olympics | ||
| + | |2022 Winter=Beijing-2022-winter-olympics | ||
| + | |2024 Summer Olympics | ||
| + | |2024 Summer=Paris-2024-summer-olympics | ||
| + | |2026 Winter Olympics | ||
| + | |2026 Winter=Milano-Cortina-2026-winter-olympics | ||
| + | |2028 Summer Olympics | ||
| + | |2028 Summer=LA-2028-summer-olympics | ||
|#default=}} | |#default=}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 17:54, 29 January 2021
"Olympic Games". Olympic.org. International Olympic Committee.
Usage
{{IOC games|games=|accessdate=}}
Generates a reference (using {{cite web}}) to the International Olympic Committee's main page for the selected Olympic games on the Olympic.org website.
Parameters
Parameters are optional. If you do not provide any parameters, the link will default to the main "Olympic Games" page from which the user can specify the games they want.
games– specifies the Games of interest, such as "games=2008 Summer Olympics" or "games=2006 Winter Olympics" (mainly provided so that you can reference the current page using the PAGENAME variable), or "games=2008 Summer" or "games=2006 Winter"accessdate– as used by {{cite web}}
Examples
{{IOC games|games=2008 Summer}}- "Beijing 2008". Olympic.org. International Olympic Committee.
- The IOC page for the 2008 Summer Olympics.
{{IOC games}}- "Olympic Games". Olympic.org. International Olympic Committee.
- The IOC page listing all of the games.
{{IOC games|games={{PAGENAME}} }}- The IOC page for the Games represented on the current page, if the current page is named "XXXX Summer Olympics" or XXXX Winter Olympics". Suitable for use on any main Olympic Games page such as 1964 Summer Olympics.
| The above documentation is transcluded from Template:IOC games/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |