Template:Fed Cup player/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property P2642:

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

Usage with name parameter as link text:

Output:

URLs:
 * https://www.fedcup.com/en/players/player.aspx?id=
 * http:// www.fedcup.com/en/players/player/profile.aspx?playerid= (former ID, archived 2016-04-23)

ID in Wikidata
Usage in the article Zhang Shuai:

Output:
 * Blue pencil.svg

URL:
 * https://www.fedcup.com/en/players/player.aspx?id=
 * http:// www.fedcup.com/en/players/player/profile.aspx?playerid= (former ID, archived 2016-03-28)

No ID in template or Wikidata
Usage:

Output:

TemplateData
{ "description": "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.", "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": "" } },  "paramOrder": [ "id", "name" ] }

Tracking categories

 * "id" parameter exists


 * "id" parameter does not exist

Templates and modules used

 * Template:First word, implemented with Module:String
 * Module:EditAtWikidata
 * Module:WikidataCheck