Template:Billie Jean King Cup player displays an external link to a tennis player's profile at the official website of the Billie Jean King Cup, also known as the BJK Cup and formerly known as the Fed Cup. It is intended for use in the external links section of an article.

Usage

edit
Unnamed parameters
{{Billie Jean King Cup player | ID }}
{{Billie Jean King Cup player | ID | NAME }}
Named parameters
{{Billie Jean King Cup player | id= ID }}
{{Billie Jean King Cup player | id= ID | name= NAME }}
Using Wikidata property
{{Billie Jean King Cup player}}
{{Billie Jean King Cup player | name= NAME }}

Examples

edit

ID in template

edit
Usage in the article Lindsay Davenport, with article name as link text
* {{Billie Jean King Cup player | 800182335 }}
* {{Billie Jean King Cup player | id= 800182335 }}
Usage with name parameter as link text
* {{Billie Jean King Cup player | 800182335 | Lindsay Davenport }}
* {{Billie Jean King Cup player | id= 800182335 | name= Lindsay Davenport }}
Output
Current URL
https://www.billiejeankingcup.com/en/player/800182335
Former URLs
https://www.billiejeankingcup.com/en/players/player.aspx?id=800182335 (archived 2023-02-17)
https://www.fedcup.com/en/players/player.aspx?id=800182335 (archived 2020-08-09)
http://www.fedcup.com/en/players/player/profile.aspx?playerid=20001736 (archived 2016-04-23 with former ID)

ID in Wikidata

edit
Usage in the article Zhang Shuai
* {{Billie Jean King Cup player}}
* {{Billie Jean King Cup player | name= Zhang Shuai }}
Output
Current URL
https://www.billiejeankingcup.com/en/player/800242696
Former URLs
https://www.billiejeankingcup.com/en/players/player.aspx?id=800242696 (archived 2023-04-07)
https://www.fedcup.com/en/players/player.aspx?id=800242696
http://www.fedcup.com/en/players/player/profile.aspx?playerid=100035555 (archived 2016-03-28 with former ID)

No ID in template or Wikidata

edit
Usage
* {{Billie Jean King Cup player}}
Output

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Billie Jean King Cup player in articles based on its TemplateData.

TemplateData for Billie Jean King Cup player

This template displays an external link to a tennis player's profile at the official website of the Billie Jean King Cup, formerly known as the Fed Cup. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID number in the URL, such as 800182335 in the current URL https://www.billiejeankingcup.com/en/player/800182335 and former URLs https://www.billiejeankingcup.com/en/players/player.aspx?id=800182335 or https://www.fedcup.com/en/players/player.aspx?id=800182335. This parameter is optional if Wikidata property P2642 exists, but required if not.

Default
Wikidata property P2642
Numberoptional
namename 2

The link text, which should be the name of the tennis player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

edit
template with ID
template missing ID

Templates and modules used

edit

See also

edit

edit