Template:IBU profile/doc
This is a documentation subpage for Template:IBU profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:IBU profile displays external links to a biathlete's profiles at BiathlonWorld.com and BiathlonResults.com, official websites of the International Biathlon Union (IBU) which is the international governing body for the sport of biathlon. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{IBU profile | ID }}
{{IBU profile | ID | NAME }}
- Named parameters
{{IBU profile | id= ID }}
{{IBU profile | id= ID | name= NAME }}
- Using Wikidata property
{{IBU profile}}
{{IBU profile | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{IBU profile | btfra11409198801 | Martin Fourcade }}
- Output
-
- Martin Fourcade at IBU BiathlonWorld.com
- Martin Fourcade at IBU BiathlonResults.com
- Current URLs
- https://www.biathlonworld.com/athlete/martin-fourcade/btfra11409198801
- https://www.biathlonworld.com/athlete/unknown/btfra11409198801
- https://biathlonresults.com/?IBUId=btfra11409198801
- Former URLs (redirect to current URL)
- https://www.biathlonworld.com/athletes/martin-fourcade/id/btfra11409198801/
- https://www.biathlonworld.com/athletes/id/btfra11409198801/
- http://www.biathlonworld.com/en/athletes.html/do/showathlete?IBUId=BTFRA11409198801
- Former URLs (do not redirect)
- http://data.biathlonworld.com/data/archives.aspx?IbuId=BTFRA11409198801 (archive)
- http://services.biathlonresults.com/athletes.aspx?IbuId=BTFRA11409198801 (archive)
Named parameters
[edit]- Usage
* {{IBU profile |id= BTRUS22808198401 |name= Anastasiya Kuzmina }}
- Output
-
- Anastasiya Kuzmina at IBU BiathlonWorld.com
- Anastasiya Kuzmina at IBU BiathlonResults.com
- Current URLs
- https://www.biathlonworld.com/athlete/anastasiya-kuzmina/btrus22808198401
- https://www.biathlonworld.com/athlete/unknown/btrus22808198401
- https://biathlonresults.com/?IBUId=btrus22808198401
- Former URLs (redirect to current URL)
- https://www.biathlonworld.com/athletes/anastasiya-kuzmina/id/btrus22808198401/
- https://www.biathlonworld.com/athletes/id/btrus22808198401/
- http://www.biathlonworld.com/en/athletes.html/do/showathlete?IBUId=BTRUS22808198401 (archive)
- Former URLs (do not redirect)
- http://data.biathlonworld.com/data/archives.aspx?IbuId=BTRUS22808198401 (archive)
- http://services.biathlonresults.com/athletes.aspx?IbuId=BTRUS22808198401 (archive)
No parameters and Wikidata property not defined
[edit]- Usage
* {{IBU profile}}
- Output
-
- {{IBU profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IBU profile
This template displays external links to a biathlete's profile at the websites of the International Biathlon Union (IBU), the international governing body for the sport of biathlon. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, such as btfra11409198801 or BTFRA11409198801 in https://www.biathlonworld.com/athlete/martin-fourcade/btfra11409198801 or https://biathlonresults.com/?IBUId=BTFRA11409198801 (the ID is not case sensitive). This parameter is optional if Wikidata property P2459 exists, but required if not.
| String | optional |
name | name 2 | The link text, which should be the name of the biathlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(biathlete)".
| String | optional |
Tracking categories
[edit]- template with ID
- Category:IBU profile template with ID different from Wikidata (0) – comparison is case insensitive, so btrus22808198401 matches BTRUS22808198401
- Category:IBU profile template with ID not in Wikidata (0)
- template missing ID
External links
[edit]