Template:Billie Jean King Cup player/doc
This is a documentation subpage for Template:Billie Jean King Cup player. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
This template uses Lua: |
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, formerly known as the Fed Cup. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P2642:
Examples
ID in template
Usage in the article Lindsay Davenport, with article name as link text:
Usage with name parameter as link text:
Output:
- Lindsay Davenport at the Billie Jean King CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
Current URL:
Former URLs:
- https://www.fedcup.com/en/players/player.aspx?id=800182335
- http://www.fedcup.com/en/players/player/profile.aspx?playerid=20001736 (former ID, archived 2016-04-23)
ID in Wikidata
Usage in the article Zhang Shuai:
Output:
- Zhang Shuai at the Billie Jean King CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
Current URL:
Former URLs:
- https://www.fedcup.com/en/players/player.aspx?id=800242696
- http://www.fedcup.com/en/players/player/profile.aspx?playerid=100035555 (former ID, archived 2016-03-28)
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at the Billie Jean King CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 800182335 is the ID portion of 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 "name" parameter (or unnamed parameter "2") may be used to specify 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
- template with ID
- Category:Fed Cup player template with ID different from Wikidata (0)
- Category:Fed Cup player template with ID not in Wikidata (0)
- template missing ID
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
- {{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
External links