Difference between revisions of "Template:IPC medals"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(update)
imported>Zyxw
m (use external /doc)
 
Line 33: Line 33:
 
|32=Unknown sport
 
|32=Unknown sport
 
|33=Rowing
 
|33=Rowing
}}{{#ifeq:{{{npc|all}}}|all||{{country alias|{{{npc}}}}}}} at the {{#switch:{{{game_id|all}}}|
+
}} {{#ifeq:{{{npc|all}}}|all||{{country alias|{{{npc}}}}}}} at the {{#switch:{{{game_id|all}}}|
|1960PG=1960 - Rome
+
|1960PG=1960 Rome
|1964PG=1964 - Tokyo
+
|1964PG=1964 Tokyo
|1968PG=1968 - Tel Aviv
+
|1968PG=1968 Tel Aviv
|1972PG=1972 - Heidelberg
+
|1972PG=1972 Heidelberg
|1976PG=1976 - Toronto
+
|1976PG=1976 Toronto
|1980PG=1980 - Arnhem
+
|1980PG=1980 Arnhem
|1984PG=1984 - New York
+
|1984PG=1984 New York
|1988PG=1988 - Seoul
+
|1988PG=1988 Seoul
|1992PG=1992 - Barcelona
+
|1992PG=1992 Barcelona
|1996PG=1996 - Atlanta
+
|1996PG=1996 Atlanta
 
|2000PG=2000 Sydney
 
|2000PG=2000 Sydney
 
|2004PG=2004 Athens
 
|2004PG=2004 Athens
|2008PG=2008 - Beijing
+
|2008PG=2008 Beijing
|2012PG=2012 - London
+
|2012PG=2012 London
 
|1976PWG=1976 Winter
 
|1976PWG=1976 Winter
 
|1980PWG=1980 Geilo Winter
 
|1980PWG=1980 Geilo Winter
Line 60: Line 60:
 
|2014PWG=2014 Sochi Winter
 
|2014PWG=2014 Sochi Winter
 
}} Paralympics}}}]{{{quiet| on paralympic.org}}}<noinclude>
 
}} Paralympics}}}]{{{quiet| on paralympic.org}}}<noinclude>
 
+
{{Documentation}}
;Params
 
* game_id
 
* sport_id
 
* linktext - text to include in the link
 
* quiet=1 - don't append "on paralympic.org"
 
 
 
[[Category:Paralympics external link templates]]
 
[[Category:Paralympics task force]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:20, 5 January 2020

at the Paralympics on paralympic.org

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

Template:IPC medals displays an external link to competition results for Paralympic Games from Paralympic.org, the website of the International Paralympic Committee.

Usage

{{IPC medals |npc=NPC |sport_id=SPORT |game_id=GAMES |medal=MEDAL}}
{{IPC medals |npc=NPC |sport_id=SPORT |game_id=GAMES |medal=MEDAL |linktext=TEXT |quiet= }}

Parameters

Search parameters

|npc=
Code for NPC (country), assigned to npc= in URL (default: all)
|sport_id=
Number for Paralympic sport, assigned to sport= in URL (default: all)
|game_id=
Code for Paralympic competition, assigned to games= in URL (default: all)
|medal=
Code for medallists, assigned to medal= in URL (default: all)

Display parameters

|linktext=
Link text to be displayed instead of default (currently: Sport on paralympics.org)
|quiet=
Don't append text after the external link (currently: on paralympic.org)

Examples

npc

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=all&npc=BAN&games=all&sport=all (archive)
Usage
* {{IPC medals |npc=BAN }}
Output

sport_id

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=medals&npc=all&games=all&sport=15 (archive)
Usage
* {{IPC medals |sport_id=15 }}
Output

npc & game_id

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=all&npc=BAN&games=2004PG&sport=all (archive)
Usage
* {{IPC medals |npc=BAN |game_id=2004PG |quiet= }}
Output

sport_id & game_id

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=medals&npc=all&games=2000PG&sport=22 (archive)
Usage
* {{IPC medals |sport_id=22 |game_id=2000PG }}
Output

npc & medal

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=gold&npc=NZL&games=all&sport=all (archive)
Usage
* {{IPC medals |npc=NZL |medal=gold |quiet= }}
* {{IPC medals |npc=NZL |medal=gold |linktext=New Zealand gold medals at the Paralympics }}
Output

sport_id & medal

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=gold&npc=all&games=all&sport=1
Usage
* {{IPC medals |sport_id=1 |medal=gold |quiet= }}
* {{IPC medals |sport_id=1 |medal=gold |linktext=Archery gold medals at the Paralympics }}
Output

npc, sport_id, game_id

URL
http://www.paralympic.org/ipc_results/search.php?gender=all&medal=medals&npc=MLT&games=1960PG&sport=21 (archive)
Usage
* {{IPC medals |npc=MLT |sport_id=21 |game_id=1960PG }}
* {{IPC medals |npc=MLT |sport_id=21 |game_id=1960PG |linktext=Malta's table tennis medals at the 1960 Paralympics }}
Output

See also

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