Difference between revisions of "Template:IPC event"

From blackwiki
Jump to navigation Jump to search
imported>John Vandenberg
imported>Zyxw
(these links have been dead for a few years, add archive URL for historical records)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games={{{game_id}}}&sport={{{sport_id}}} {{{linktext|{{#switch:{{{sport_id}}}
+
[{{#if: {{{archive|}}} | https://web.archive.org/web/{{{archive}}}/  | https://timetravel.mementoweb.org/memento/2016/ }}http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games={{{game_id|{{{games}}}}}}&sport={{{sport_id|{{{sport}}}}}} {{{linktext|{{#switch:{{{sport_id|{{{sport}}}}}}<noinclude>|#default={{{sport}}}</noinclude>
 
|all=All sports
 
|all=All sports
 
|1=Archery
 
|1=Archery
 
|2=Athletics
 
|2=Athletics
 
|3=Wheelchair Basketball
 
|3=Wheelchair Basketball
 +
|4=Basketball ID
 
|5=Boccia
 
|5=Boccia
 
|6=Cycling
 
|6=Cycling
 
|7=Dartchery
 
|7=Dartchery
 
|8=Equestrian
 
|8=Equestrian
|9=Wheelchair fencing
+
|9=Wheelchair Fencing
 
|10=Football 5-a-side
 
|10=Football 5-a-side
 
|11=Football 7-a-side
 
|11=Football 7-a-side
Line 21: Line 22:
 
|20=Swimming
 
|20=Swimming
 
|21=Table Tennis
 
|21=Table Tennis
|22=Wheelchair tennis
+
|22=Wheelchair Tennis
 
|23=Volleyball
 
|23=Volleyball
 
|24=Weightlifting
 
|24=Weightlifting
|25=Unknown sport
+
|25=Wrestling
 
|26=Alpine Skiing
 
|26=Alpine Skiing
 
|27=Biathlon
 
|27=Biathlon
 
|28=Wheelchair Curling
 
|28=Wheelchair Curling
 
|29=Ice Sledge Hockey
 
|29=Ice Sledge Hockey
|30=Ice sledge speed racing
+
|30=Ice Sledge Speed Racing
 
|31=Cross Country Skiing
 
|31=Cross Country Skiing
|32=Unknown sport
+
|32=Wheelchair Dance Sport
 
|33=Rowing
 
|33=Rowing
}} at the {{#switch:{{{game_id}}}|
+
}} at the {{#switch:{{{game_id|{{{games}}}}}}<noinclude>|#default={{{games}}}</noinclude>
|1960PG=1960 - Rome
+
|1960PG=1960 Summer Paralympics (Rome)
|1964PG=1964 - Tokyo
+
|1964PG=1964 Summer Paralympics (Tokyo)
|1968PG=1968 - Tel Aviv
+
|1968PG=1968 Summer Paralympics (Tel Aviv)
|1972PG=1972 - Heidelberg
+
|1972PG=1972 Summer Paralympics (Heidelberg)
|1976PG=1976 - Toronto
+
|1976PG=1976 Summer Paralympics (Toronto)
|1980PG=1980 - Arnhem
+
|1980PG=1980 Summer Paralympics (Arnhem)
|1984PG=1984 - New York
+
|1984PG=1984 Summer Paralympics (New York)
|1988PG=1988 - Seoul
+
|1988PG=1988 Summer Paralympics (Seoul)
|1992PG=1992 - Barcelona
+
|1992PG=1992 Summer Paralympics (Barcelona)
|1996PG=1996 - Atlanta
+
|1996PG=1996 Summer Paralympics (Atlanta)
|2000PG=2000 Sydney
+
|2000PG=2000 Summer Paralympics (Sydney)
|2004PG=2004 Athens
+
|2004PG=2004 Summer Paralympics (Athens)
|2008PG=2008 - Beijing
+
|2008PG=2008 Summer Paralympics (Beijing)
|2012PG=2012 - London
+
|2012PG=2012 Summer Paralympics (London)
|1976PWG=1976 Winter
+
|1976PWG=1976 Winter Paralympics (Örnsköldsvik)
|1980PWG=1980 Geilo Winter
+
|1980PWG=1980 Winter Paralympics (Geilo Winter)
|1984PWG=1984 Innsbruck Winter
+
|1984PWG=1984 Winter Paralympics (Innsbruck Winter)
|1988PWG=1988 Innsbruck Winter
+
|1988PWG=1988 Winter Paralympics (Innsbruck Winter)
|1992PWG=1992 Tignes-Albertville Winter
+
|1992PWG=1992 Winter Paralympics (Tignes-Albertville)
|1994PWG=1994 Lillehammer Winter
+
|1994PWG=1994 Winter Paralympics (Lillehammer)
|1998PWG=1998 Nagano Winter
+
|1998PWG=1998 Winter Paralympics (Nagano)
|2002PWG=2002 Salt Lake City Winter
+
|2002PWG=2002 Winter Paralympics (Salt Lake City)
|2006PWG=2006 Torino Winter
+
|2006PWG=2006 Winter Paralympics (Torino)
|2010PWG=2010 Vancouver Winter
+
|2010PWG=2010 Winter Paralympics (Vancouver)
|2014PWG=2014 Sochi Winter
+
|2014PWG=2014 Winter Paralympics (Sochi)
}} Paralympics}}}]{{{quiet| on paralympic.org}}}<noinclude>
+
}}}}}] {{#ifeq:{{{quiet}}}|1||from the [[International Paralympic Committee]]}} (archived)<noinclude>
 
+
{{Documentation}}
;Params
 
* game_id
 
* sport_id
 
* linktext - text to include in the link
 
* quiet=1 - dont append "on paralympic.org"
 
 
 
[[Category:Paralympics task force|{{PAGENAME}}]]
 
[[Category:Sports external link templates]]
 
[[Category:Paralympics templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:55, 4 January 2020

{{{sport}}} at the {{{games}}} from the International Paralympic Committee (archived)

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

Template:IPC event displays an external link to competition results for Paralympic Games from Paralympic.org, the website of the International Paralympic Committee. The web pages linked to by this template no longer exist, so by default it searches for an archived page via the Memento Project.

Usage

{{IPC event|sport=SPORT|games=GAMES}}

Parameters

Search parameters

|sport= or |sport_id=
Code for Paralympic sport, assigned to sport= in URL
|games= or |game_id=
Code for Paralympic competition, assigned to games= in URL

Display parameters

|linktext=
Link text to be displayed instead of default (currently: Sport at the yyyy Paralympic Games)
|quiet=1
Don't append text after the external link (currently: from the International Paralympic Committee)

Archive parameter

|archive=
The archive parameter is optional but may be used to link to a specific archived page from the Internet Archive. The value is a number representing the date and time, such as 20160304032740 in https://web.archive.org/web/20160304032740/http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games=1992PG&sport=23.

Examples

Volleyball at the 1992 Summer Paralympics

URL
http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games=1992PG&sport=23 (archive)
Usage
* {{IPC event |games=1992PG |sport=23 }}
* {{IPC event |games=1992PG |sport=23 |archive=20160304032740 }}
Output

Different link text

URL
http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games=2012PG&sport=13 (archive)
Usage
* {{IPC event |game_id=2012PG |sport_id=13 |linktext=2012 Judo results }}
* {{IPC event |game_id=2012PG |sport_id=13 |linktext=2012 Judo results |archive=20160303223517 }}
Output

No text after link

URL
http://www.paralympic.org/ipc_results/reports.php?type=event&criteria=0&games=1998PWG&sport=29 (archive)
Usage
* {{IPC event |game_id=1998PWG |sport_id=29 |quiet=1 }}
* {{IPC event |game_id=1998PWG |sport_id=29 |quiet=1 |archive=20160304032812 }}
Output

See also

Historical IPC external link templates
Current external link templates for Paralympic athlete profiles