Difference between revisions of "Template:IOC games"

From blackwiki
Jump to navigation Jump to search
imported>PhilipTerryGraham
(Undid revision 880226251 by 5.100.82.212 (talk))
imported>Nitobus
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
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>

Revision as of 07:39, 19 August 2020

"Olympic Games". Olympic.org. International Olympic Committee.

Template documentation[view] [edit] [history] [purge]

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.