Template:ESPN Tennis/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Examples

 * Usage


 * Output


 * Current URLs
 * http://www.espn.com/tennis/player/_/id/425/roger-federer
 * http://www.espn.com/tennis/player/_/id/425


 * Former URLs
 * http://espn.go.com/tennis/player/_/id/425/roger-federer
 * http://espn.go.com/tennis/player/_/id/425

Named parameters

 * Usage


 * Output


 * Current URLs
 * http://www.espn.com/tennis/player/_/id/399/maria-sharapova
 * http://www.espn.com/tennis/player/_/id/399


 * Former URLs
 * http://espn.go.com/tennis/player/_/id/399/maria-sharapova
 * http://espn.go.com/tennis/player/_/id/399

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a tennis player's profile at ESPN.com. It is intended for use in the external links section of an article.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The ID portion of the URL, such as 399/maria-sharapova in http://www.espn.com/tennis/player/_/id/399/maria-sharapova or 399 in http://www.espn.com/tennis/player/_/id/399. This parameter is optional if Wikidata property P11585 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P11585" },   "name": { "label": "Name", "aliases": ["2"], "description": "The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(tennis)\".", "type": "string", "required": false, "default": "" } } }

External link

 * ESPN.com tennis player search page