Template:X Games profile/doc

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

Usage

 * ID in template


 * ID in Wikidata property

Current or former ID in template

 * Usage in Elliot Sloan, with article name as link text


 * Output


 * Current URL
 * https://www.xgames.com/athletes/elliot-sloan


 * Former URLs
 * https:// www.xgames.com/athletes/3015231 (archive 8 August 2022)
 * https:// www.xgames.com/athletes/3015231/elliot-sloan (archive 4 January 2023)
 * http:// xgames.espn.go.com/xgames/athletes/3015231/elliot-sloan (archive 10 June 2015)
 * http:// xgames.espn.go.com/athlete/3015231/elliot-sloan (archive 13 March 2015)

Former numeric ID in Wikidata

 * Usage in Marie Martinod, with article name as link text


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


 * Former URLs
 * https:// www.xgames.com/athletes/3014676 (archive 21 February 2022)
 * https:// www.xgames.com/athletes/3014676/marie-martinod (archive 4 January 2023)
 * http:// xgames.espn.go.com/athlete/3014676/marie-martinod (archive 1 February 2015)

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an athlete's profile at xgames.com, the official website of the X Games. It is intended for use in the external links section of an article.", "params": { "new_id": { "label": "New ID", "description": "The ID portion of the new URL, such as elliot-sloan in https://www.xgames.com/athletes/elliot-sloan.", "type": "string", "required": false },   "old_id": { "label": "Old ID", "description": "The ID number the old URL, such as 3015231 in https://www.xgames.com/athletes/3015231 (which redirected to https://www.xgames.com/athletes/3015231/elliot-sloan). Since the old URL no longer works, the template displays an archived link.", "default": "Wikidata property P4893", "type": "number", "required": false },   "name": { "label": "Name", "description": "The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(athlete)\".", "default": "", "type": "string", "required": false } },  "paramOrder": [ "new_id", "old_id", "name" ] }