Difference between revisions of "Template:Davis Cup player/doc"
Jump to navigation
Jump to search
imported>Zyxw (created documentation, including TemplateData and categories) |
imported>Wolbo (→See also: Template name) |
||
| Line 55: | Line 55: | ||
== See also == | == See also == | ||
| − | * {{tl| | + | * {{tl|Fed Cup player}} – external link to player page at the [[Fed Cup]] (women's equivalent to Davis Cup) |
* {{tl|ITF profile}} – external link to player page at the [[International Tennis Federation]] (Davis Cup website uses same player ID numbers) | * {{tl|ITF profile}} – external link to player page at the [[International Tennis Federation]] (Davis Cup website uses same player ID numbers) | ||
* {{tl|ATP}}} – external link to player page at the [[Association of Tennis Professionals]] | * {{tl|ATP}}} – external link to player page at the [[Association of Tennis Professionals]] | ||
Revision as of 11:23, 29 October 2016
| 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:Davis Cup player displays an external link to a tennis player's page at the Davis Cup website.
Contents
Usage
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 | required |
| 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=10021072
{{Davis Cup player | 10021072 }}- Template:PAGENAMEBASE at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{Davis Cup player | id= 10021072 }}- 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=10002749
{{Davis Cup player | 10002749 | Rod Laver }}- Rod Laver at the Davis CupScript error: No such module "EditAtWikidata".Template:WikidataCheck
{{Davis Cup player | id= 10002749 | 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 (Davis Cup website uses same player ID numbers)
- {{ATP}}} – external link to player page at the Association of Tennis Professionals