Template:Davis Cup player/doc
< Template:Davis Cup player
Jump to navigation
Jump to search
Revision as of 12:34, 28 May 2018 by imported>Zyxw (Zyxw moved page Template:DavisCup player/doc to Template:Davis Cup player/doc: Davis Cup, similar to move of Template:FedCup player to Template:Fed Cup player)
| 40px | This is a documentation subpage for Template:Davis Cup player. It contains usage information, categories and other content that is not part of the original template page. |
Template:Wikidata property Template:Davis Cup player displays an external link to a tennis player's page at the Davis Cup website.
Contents
Usage
Zero parameters:
{{Davis Cup player}}(uses id retrieved from wikidata)
One parameter:
{{Davis Cup player | ID }}{{Davis Cup player | id= ID }}
Two parameters:
{{Davis Cup player | ID | NAME }}{{Davis Cup player | id= ID | name= NAME }}
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 Davis Cup player
This template displays an external link to a tennis player's page at the Davis Cup website.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 id | Player's ID number in the URL. Example: 10021072 is the ID in http://www.daviscup.com/en/players/player/profile.aspx?playerid=10021072
| String | optional |
| Name | 2 name | Name of tennis player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (tennis).
| String | optional |
Examples
One parameter:
- James Blake:
http://www.daviscup.com/en/players/player/profile.aspx?playerid=800198270
{{Davis Cup player | 800198270 }}- Template:PAGENAMEBASE at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{Davis Cup player | id= 800198270 }}- Template:PAGENAMEBASE at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
Two parameters:
- Rod Laver:
http://www.daviscup.com/en/players/player/profile.aspx?playerid=800173355
{{Davis Cup player | 800173355 | Rod Laver }}- Rod Laver at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{Davis Cup player | id= 800173355 | name= Rod Laver }}- Rod Laver at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
See also
- {{Fed Cup player}} – external link to player page at the Fed Cup (women's equivalent to Davis Cup)
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{ATP}}} – external link to player page at the Association of Tennis Professionals