Template:ITF profile/doc

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

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property P599 or P8618:

Old ID (numeric) in template
Usage in the article Roger Federer, with article name as link text:

Usage with name parameter as link text:

Output:

URL (generated):
 * https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=10019424 (archive)

URL (redirected at website):
 * https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview/

New ID (non-numeric) in template
Usage in the article Shingo Kunieda, with article name as link text:

Usage with name parameter as link text:

Output:

URL (generated):
 * https://www.itftennis.com/en/players/shingo-kunieda/800231597/jpn

URL (redirected at website):
 * https://www.itftennis.com/en/players/shingo-kunieda/800231597/jpn/wct/s/overview/

Old ID (numeric) in Wikidata
Usage in the article Maria Sharapova:

Output:
 * OOjs UI icon edit-ltr-progressive.svg

URL (generated):
 * https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=100013223 (archive)

URL (redirected at website):
 * https://www.itftennis.com/en/players/maria-sharapova/800229006/rus/wt/s/overview/

New ID (non-numeric) in Wikidata
Usage in the article Esther Vergeer:

Output:
 * OOjs UI icon edit-ltr-progressive.svg

URL (generated):
 * https://www.itftennis.com/en/players/esther-vergeer/800197389/ned

URL (redirected at website):
 * https://www.itftennis.com/en/players/esther-vergeer/800197389/ned/wct/s/overview/

No ID in template or Wikidata
Usage:

Output:

TemplateData
{ "description": "This template displays an external link to a professional tennis player's profile at ITFtennis.com, the official website of the International Tennis Federation (ITF). 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: roger-federer/800202678/sui is the ID in https://www.itftennis.com/en/players/roger-federer/800202678/sui or https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview/.", "type": "string", "required": false, "default": "Wikidata property P8618" },   "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

 * template with ID
 * – current ID and URL
 * – redirect to current URL


 * template missing ID
 * – current ID and URL
 * – redirect to current URL
 * – should be empty

Templates and modules used

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