{{{name}}} at the Billie Jean King Cup
This is the template sandbox page for Template:Billie Jean King Cup player (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template is used on approximately 2,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
editID 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
- 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
-
- Zhang Shuai at the Billie Jean King Cup
- 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
-
- {{Billie Jean King Cup player}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |
Tracking categories
edit- template with ID
- Category:Billie Jean King Cup player template with ID different from Wikidata (1)
- Category:Billie Jean King Cup player template with ID not in Wikidata (60)
- template missing ID
Templates and modules used
edit- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
edit- {{Davis Cup player}} – external link to player page at the Davis Cup (men's equivalent to Fed Cup)
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{WTA}} – external link to player page at the Women's Tennis Association