{{{name}}} at ProCyclingStats
![]() | This is the template sandbox page for Template:ProCyclingStats (diff). |
![]() | This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Template:ProCyclingStats displays an external link to a rider's page at the ProCyclingStats website (ProCyclingStats.com). It is intended for use in the external links section of an article.
Omit the ID to use the Wikidata property.
Omit the NAME to use Wikipedia article name as link text.
{{ProCyclingStats | ID | NAME }}
{{ProCyclingStats | ID | NAME | access-date= DATE }}
{{ProCyclingStats | id= ID | name= NAME }}
{{ProCyclingStats | id= ID | name= NAME | access-date= DATE }}
* {{ProCyclingStats | 140846 | Fabian Cancellara }}
* {{ProCyclingStats | fabian-cancellara | Fabian Cancellara }}
* {{ProCyclingStats |id= 140857 |name= Ellen van Dijk |access-date= 29 June 2015 }}
* {{ProCyclingStats |id= ellen-van-dijk |name= Ellen van Dijk |access-date= 29 June 2015 }}
* {{ProCyclingStats}}
The id
parameter (or unnamed parameter 1
) should contain the ID number in the URL for the rider's page at the ProCyclingStats web site. Examples: 140857 in https://www.procyclingstats.com/rider/140857 or https://www.procyclingstats.com/rider.php?id=140857; ellen-van-dijk in https://www.procyclingstats.com/rider/ellen-van-dijk or https://www.procyclingstats.com/rider.php?id=ellen-van-dijk. This parameter is optional if Wikidata property P1663 exists, but required if not.
The name
parameter (or unnamed parameter 2
) may be used to specify the link text, which should be the name of the rider. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".
The access-date
parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.
TemplateData for ProCyclingStats
This template displays an external link to a rider's page at the ProCyclingStats website (ProCyclingStats.com). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 140857 in https://www.procyclingstats.com/rider/140857 or https://www.procyclingstats.com/rider.php?id=140857; ellen-van-dijk in https://www.procyclingstats.com/rider/ellen-van-dijk or https://www.procyclingstats.com/rider.php?id=ellen-van-dijk. This parameter is optional if Wikidata property P1663 exists, but required if not.
| String | optional |
Name | name 2 | The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".
| String | optional |
Access Date | access-date accessdate | The "access-date" parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional. | Date | optional |