Tɛmplet:Davis Cup player displays an external link to a tennis player's profile at DavisCup.com, the official website of the Davis Cup. It is intended for use in the external links section of an article.

Unnamed parameters
{{Davis Cup player | ID }}
{{Davis Cup player | ID | NAME }}
Named parameters
{{Davis Cup player | id= ID }}
{{Davis Cup player | id= ID | name= NAME }}
Using Wikidata property P2641
{{Davis Cup player}}
{{Davis Cup player | name= NAME }}

Examples

mali niŋ

ID in template

mali niŋ
Usage in the article James Blake, with article name as link text
* {{Davis Cup player | 800198270 }}
* {{Davis Cup player | id= 800198270 }}
Usage with name parameter as link text
* {{Davis Cup player | 800198270 | James Blake }}
* {{Davis Cup player | id= 800198270 | name= James Blake }}
Output
URLs
https://www.daviscup.com/en/players/player.aspx?id=800198270
http://www.daviscup.com/en/players/player/profile.aspx?playerid=10021072 (former ID, archived 2016-03-14)

ID in Wikidata

mali niŋ
Usage in the article Rod Laver
* {{Davis Cup player}}
* {{Davis Cup player | name= Rod Laver }}
Output
URLs
https://www.daviscup.com/en/players/player.aspx?id=800173355
http://www.daviscup.com/en/players/player/profile.aspx?playerid=10002749 (former ID, archived 2016-03-14)

No ID in template or Wikidata

mali niŋ
Usage
* {{Davis Cup player}}
Output

TemplateData

mali niŋ
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Davis Cup player

This template displays an external link to a tennis player's profile at DavisCup.com, the official website of the Davis Cup. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as 800198270 in https://www.daviscup.com/en/players/player.aspx?id=800198270.

Default
Wikidata property P2641
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

mali niŋ
template with ID
template missing ID

Templates and modules used

mali niŋ

See also

mali niŋ

mali niŋ