Template:PSA/doc

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

Usage

 * New ID in template


 * Both IDs in template


 * Old ID in template


 * Old ID using Wikidata property :

New ID in template

 * Usage


 * Output


 * New URL
 * https://www.psaworldtour.com/view-player/player/camille-serme/

Old ID in template

 * Usage


 * Output


 * Old URLs
 * https:// psaworldtour.com/players/view/7866 (archived 2022-01-23)
 * https:// psaworldtour.com/players/view/7866/camille-serme (archived 2021-07-31)

Both IDs in template

 * Usage


 * Output


 * New URL
 * https://www.psaworldtour.com/view-player/player/nick-matthew/


 * Old URLs
 * https:// psaworldtour.com/players/view/309 (archived 2021-09-27)
 * https:// psaworldtour.com/players/view/309/nick-matthew (archived 2022-05-23)
 * http:// www.psaworldtour.com/page/PlayerProfile/0,,13121~309,00.html (archived 2013-08-20)

Old ID in Wikidata

 * Usage in the article Nick Matthew


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

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a squash player's page at psaworldtour.com, the official website of the Professional Squash Association (the governing body for the men's and women's professional squash circuit). This template is intended for use in the external links section of an article.", "params": { "new_id": { "label": "New ID", "description": "The player ID in the new URL, such as camille-serme in https://www.psaworldtour.com/view-player/player/camille-serme/.", "example": "|new_id=camille-serme", "type": "string", "required": false },   "old_id": { "label": "Old ID", "aliases": ["1", "id"], "description": "The player ID number in the old URL, such as 7866 in https://psaworldtour.com/players/view/7866 or https://psaworldtour.com/players/view/7866/camille-serme or http://www.psaworldtour.com/page/PlayerProfile/0,,13121~309,00.html. This parameter is optional if Wikidata property P3476 exists, but required if not.", "default": "Wikidata property P3476", "example": "|old_id=7866", "type": "number", "required": false },   "name": { "label": "Name", "aliases": ["2"], "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 \"(squash player)\".", "default": "", "example": "|name=Camille Serme", "type": "string", "required": false },   "archive": { "label": "Archive Date/Time", "description": "A number representing the date/time in an Internet Archive URL, such as 20220123183724 in https://web.archive.org/web/20220123183724/https://psaworldtour.com/players/view/7866.", "example": "|archive=20220123183724", "type": "number", "required": false },   "archive2": { "label": "Archive Date/Time 2", "description": "A number representing the date/time in an Internet Archive URL, such as 20130820234522 in https://web.archive.org/web/20130820234522/http://www.psaworldtour.com/page/PlayerProfile/0,,13121~309,00.html.", "example": "|archive2=20130820234522", "type": "number", "required": false } },  "paramOrder": [ "new_id", "old_id", "name", "archive", "archive2" ] }

Historical URLs
Until 2011, the player profile URL was:
 * http://www.psa-squash.com/entry/ranking.php?player= (archive)
 * where T00237 was the player's identifier ("id") in the URL for the player's profile

From 2011 through 2014, the player profile URL was:
 * http://www.psaworldtour.com/page/PlayerProfile/0,,13121~ .html (archive)
 * where 271,00 was the player's identifier ("id") in the URL for the player's profile

Tracking categories

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