Template:FedCup player
(Redirected from Template:Fed Cup player)
{{{name}}} at the Fed Cup
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Template:FedCup player displays an external link to a tennis player's profile at the Fed Cup website (www.fedcup.com). It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{FedCup player | ID }}
{{FedCup player | ID | NAME }}
Named parameters:
{{FedCup player | id= ID }}
{{FedCup player | id= ID | name= NAME }}
Using Wikidata property P2642:
{{FedCup player}}
{{FedCup player | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
{{FedCup player | 800182335 | Lindsay Davenport }}
Output:
- Lindsay Davenport at the Fed Cup
Named parameters
URL:
Usage:
{{FedCup player | id= 800242696 | name= Zhang Shuai }}
Output:
- Zhang Shuai at the Fed Cup
No parameters and Wikidata property not defined
Usage:
{{FedCup player}}
Output:
- FedCup player at the Fed Cup
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 FedCup player
<templatedata> {
"description": "This template displays an external link to a tennis player's profile at the Fed Cup website (www.fedcup.com). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P2642" }, "name": { "label": "name", "aliases": ["2"], "description": "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))\".", "type": "string", "required": false, "default": "FedCup player" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories
- "id" parameter exists
- Category:Fed Cup player ID not in Wikidata (1)
- Category:Fed Cup player ID different from Wikidata (0)
- Category:Fed Cup player ID same as Wikidata (0)
- "id" parameter does not exist
See also
- {{DavisCup player}} – external link to player page at the Davis Cup (men's equivalent to Fed Cup)
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{WTA}}} – external link to player page at the Women's Tennis Association
The above documentation is transcluded from Template:FedCup player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |