{{{name}}} at the Professional Squash Association
This template uses Lua: |
Template:PSA 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.
Usage
- New ID in template
{{PSA | new_id= NEW ID }}
{{PSA | new_id= NEW ID | name= NAME }}
- Both IDs in template
{{PSA | new_id= NEW ID | old_id= ID }}
{{PSA | new_id= NEW ID | name= NAME | old_id= OLD ID }}
{{PSA | new_id= NEW ID | name= NAME | old_id= OLD ID | archive= NUMBER }}
{{PSA | new_id= NEW ID | name= NAME | old_id= OLD ID | archive= NUMBER | archive2= NUMBER }}
- Old ID in template
{{PSA | old_id= OLD ID }}
{{PSA | old_id= OLD ID | name= NAME }}
{{PSA | old_id= OLD ID | name= NAME | archive= NUMBER }}
- Old ID using Wikidata property PSA World Tour player ID number (archived) (P3476)
{{PSA}}
{{PSA | name= NAME }}
{{PSA | name= NAME | archive= NUMBER }}
Examples
New ID in template
- Usage
* {{PSA | new_id= camille-serme | name= Camille Serme }}
- Output
Old ID in template
- Usage
* {{PSA | 7866 | Camille Serme }}
* {{PSA | id= 7866 | name= Camille Serme | archive= 20220123183724 }}
* {{PSA | old_id= 7866 | name= Camille Serme | archive= 20220123183724 }}
- Output
-
- Camille Serme at the Professional Squash Association (archived)
- Camille Serme at the Professional Squash Association (archived)
- Camille Serme at the Professional Squash Association (archived)
- 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
* {{PSA |new_id= nick-matthew |name= Nick Matthew |old_id= 309 }}
* {{PSA |new_id= nick-matthew |name= Nick Matthew |old_id= 309 |archive= 20210927075827 }}
* {{PSA |new_id= nick-matthew |name= Nick Matthew |old_id= 309 |archive= 20210927075827 |archive2= 20130820234522 }}
- Output
- 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
* {{PSA}}
* {{PSA | name= Nick Matthew }}
- Output
-
- Nick Matthew at the Professional Squash Association (archived)
No ID in template or Wikidata
- Usage
* {{PSA}}
- Output
-
- {{PSA}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for PSA
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_id | The player ID in the new URL, such as camille-serme in https://www.psaworldtour.com/view-player/player/camille-serme/.
| String | optional |
Old ID | old_id 1 id | 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.
| Number | optional |
Name | name 2 | 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)".
| String | optional |
Archive Date/Time | archive | 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.
| Number | optional |
Archive Date/Time 2 | archive2 | 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.
| Number | optional |
Historical URLs
Until 2011, the player profile URL was:
- http://www.psa-squash.com/entry/ranking.php?player=T00237 (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~271,00.html (archive)
- where 271,00 was the player's identifier ("id") in the URL for the player's profile
Tracking categories
- template with ID
- Category:PSA template with ID different from Wikidata (21)
- Category:PSA template with ID not in Wikidata (0)
- template missing ID
See also
- {{Squash Info}}
- {{WSA}}
- {{WISPA}}