Template:Billie Jean King Cup player/doc

From blackwiki
Jump to navigation Jump to search

Template:Template redirect

Template:Uses Wikidata Template:Tracks Wikidata

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.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property P2642:

Template:Tlcw
Template:Tlcw

Examples

ID in template

Usage in the article Lindsay Davenport, with article name as link text:

Template:Tlcw
Template:Tlcw

Usage with name parameter as link text:

Template:Tlcw
Template:Tlcw

Output:

Current URL:

https://www.billiejeankingcup.com/en/players/player.aspx?id=800182335

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:

Template:Tlcw
Template:Tlcw

Output:

Current URL:

https://www.billiejeankingcup.com/en/players/player.aspx?id=800242696

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:

Template:Tlcw

Output:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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" 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.

Default
Wikidata property P2642
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

template with ID
template missing ID

Templates and modules used

See also


External links