Difference between revisions of "Template:IPC profile/doc"
Jump to navigation
Jump to search
imported>Zyxw (create documentation, include categories) |
imported>Zyxw (update examples) |
||
| Line 42: | Line 42: | ||
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|surname=Hess|givenname=Beatrice|quiet=1}}</code> | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|surname=Hess|givenname=Beatrice|quiet=1}}</code> | ||
* {{ {{BASEPAGENAME}}|surname=Hess|givenname=Beatrice|quiet=1}} | * {{ {{BASEPAGENAME}}|surname=Hess|givenname=Beatrice|quiet=1}} | ||
| + | |||
| + | ; First name only | ||
| + | * URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=&fname=Gerry | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|givenname=Gerry}}</code> | ||
| + | * {{ {{BASEPAGENAME}}|givenname=Gerry}} | ||
| + | |||
| + | ; Last name only | ||
| + | * URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=Campbell&fname= | ||
| + | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|surname=Campbell}}</code> | ||
| + | * {{ {{BASEPAGENAME}}|surname=Campbell}} | ||
== See also == | == See also == | ||
Revision as of 12:30, 3 October 2015
| File:Edit-copy green.svg | This is a documentation subpage for Template:IPC profile. It contains usage information, categories and other content that is not part of the original template page. |
Template:IPC profile displays an external link to an athlete's results page at Paralympic.org, the website of the International Paralympic Committee.
Contents
Usage
- First and last name
{{IPC profile|givenname=First|surname=Last}}
- First and last name, different text for link
{{IPC profile|givenname=First|surname=Last|linktext=Text}}
- First and last name, don't append text after link
{{IPC profile|givenname=First|surname=Last|quiet=1}}
Parameters
- surname
- Surname (last name), assigned to
name=in URL - givenname
- Given name (first name), assigned to
fname=in URL - games_id
- Optional filter, assigned to
games=in URL (default:all) - medal
- Optional filter, assigned to
medal=in URL (default:all) - npc
- Optional filter, assigned to
npc=in URL (default:all) - gender
- Optional filter, assigned to
gender=in URL (default:all) - linktext
- Link text to be displayed instead of default (currently: Results for Givenname Surname)
- quiet=1
- Don't append text after the external link (currently: from the International Paralympic Committee)
Examples
- First and last name
- URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=Zorn&fname=Trischa
{{IPC profile|givenname=Trischa|surname=Zorn}}- Results for Trischa Zorn from the International Paralympic Committee (archived)
- First and last name, different text for link
- URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=Myklebust&fname=Ragnhild
{{IPC profile|surname=Myklebust|givenname=Ragnhild|linktext=Paralympic results}}- Paralympic results from the International Paralympic Committee (archived)
- First and last name, don't append text after link
- URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=Hess&fname=Beatrice
{{IPC profile|surname=Hess|givenname=Beatrice|quiet=1}}- Results for Beatrice Hess (archived)
- First name only
- URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=&fname=Gerry
{{IPC profile|givenname=Gerry}}- Results for Gerry from the International Paralympic Committee (archived)
- Last name only
- URL: http://www.paralympic.org/ipc_results/search.php?sport=all&games=all&medal=all&npc=all&gender=all&name=Campbell&fname=
{{IPC profile|surname=Campbell}}- Results for Campbell from the International Paralympic Committee (archived)
See also
- {{USOC profile}}, an external link template for U.S. Olympic and Paralympic athletes