Template:ESPN FC/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * Output


 * Current URLs (www.espn.com/soccer/)
 * https://www.espn.com/soccer/player/_/id/75534/rogerio-ceni
 * https://www.espn.com/soccer/player/_/id/75534


 * Former URLs (espnfc.com)
 * http://www.espnfc.com/player/75534/rogerio-ceni (redirects to current URL)
 * http://www.espnfc.com/players/stats?id=75534 (does not redirect)


 * Former URLs (soccernet.espn.go.com)
 * http:// soccernet.espn.go.com/player/_/id/75534/rogerio-ceni
 * http:// soccernet.espn.go.com/players/stats?id=75534

Named parameters

 * Usage


 * Output


 * Current URLs (www.espn.com/soccer/)
 * https://www.espn.com/soccer/player/_/id/31806/jos-hooiveld
 * https://www.espn.com/soccer/player/_/id/31806


 * Former URLs (espnfc.com)
 * http://www.espnfc.com/player/31806/jos-hooiveld (redirects to current URL)
 * http://www.espnfc.com/players/stats?id=31806 (does not redirect)


 * Former URLs (soccernet.espn.go.com)
 * http:// soccernet.espn.go.com/player/_/id/31806/jos-hooiveld
 * http:// soccernet.espn.go.com/players/stats?id=31806

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an association football (soccer) player's profile at the ESPN FC website (formerly ESPN SoccerNet). 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 75534/rogerio-ceni in https://www.espn.com/soccer/player/_/id/75534/rogerio-ceni or 75534 in https://www.espn.com/soccer/player/_/id/75534. This parameter is optional if Wikidata property P3681 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P3681" },   "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 \"(footballer)\" or \"(soccer)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }

Tracking categories

 * template with ID
 * ID is converted to numeric value before comparison with Wikidata
 * 75534/rogerio-ceni →
 * 75534 →


 * template missing ID
 * template missing ID
 * template missing ID