Jump to content

ᱪᱷᱟᱸᱪ:Fed Cup player/doc

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

ᱪᱷᱟᱸᱪ:Fed Cup player displays an external link to a tennis player's profile at FedCup.com, the official website of the Fed Cup. It is intended for use in the external links section of an article.

Unnamed parameters:

{{Fed Cup player | ID }}
{{Fed Cup player | ID | NAME }}

Named parameters:

{{Fed Cup player | id= ID }}
{{Fed Cup player | id= ID | name= NAME }}

Using Wikidata property P2642:

{{Fed Cup player}}
{{Fed Cup player | name= NAME }}

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

* {{Fed Cup player | 800182335 }}
* {{Fed Cup player | id= 800182335 }}

Usage with name parameter as link text:

* {{Fed Cup player | 800182335 | Lindsay Davenport }}
* {{Fed Cup player | id= 800182335 | name= Lindsay Davenport }}

Output:

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)

Usage in the article Zhang Shuai:

* {{Fed Cup player}}
* {{Fed Cup player | name= Zhang Shuai }}

Output:

URL:

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:

* {{Fed Cup player}}

Output:

This is the TemplateData documentation for this template used by VisualEditor and other tools; Italic textsee the monthly error report for this template.

TemplateData for Fed Cup player

This template displays an external link to a tennis player's profile at FedCup.com, the official website of 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.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
template with ID
template missing ID

Templates and modules used

[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]