Jump to content

Template:IBU profile/doc

From Wikipedia, the free encyclopedia

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
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
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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:IBU profile in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P2459
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
template missing ID
[edit]