Template:ProCyclingStats
{{{name}}} at ProCyclingStats
| This template is used on approximately 2,400 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.
Usage
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 }}
Examples
Unnamed parameters
- Usage
* {{ProCyclingStats | 140846 | Fabian Cancellara }}* {{ProCyclingStats | fabian-cancellara | Fabian Cancellara }}
- Output
-
- Fabian Cancellara at ProCyclingStats
- Fabian Cancellara at ProCyclingStats
- Current URLs
- https://www.procyclingstats.com/rider/140846
- https://www.procyclingstats.com/rider/fabian-cancellara
- https://www.procyclingstats.com/rider.php?id=140846
- https://www.procyclingstats.com/rider.php?id=fabian-cancellara
- Former URLs
- https://www.procyclingstats.com/rider/Fabian_Cancellara (archive)
- https://www.procyclingstats.com/rider.php?id=Fabian_Cancellara (archive)
Named parameters
- Usage
* {{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 }}
- Output
-
- Ellen van Dijk at ProCyclingStats. Retrieved 29 June 2015.
- Ellen van Dijk at ProCyclingStats. Retrieved 29 June 2015.
- Current URLs
- https://www.procyclingstats.com/rider/140857
- https://www.procyclingstats.com/rider/ellen-van-dijk
- https://www.procyclingstats.com/rider.php?id=140857
- https://www.procyclingstats.com/rider.php?id=ellen-van-dijk
- Former URLs
- https://www.procyclingstats.com/rider/Ellen_van_Dijk (archive)
- https://www.procyclingstats.com/rider.php?id=Ellen_van_Dijk (archive)
No parameters and Wikidata property not defined
- Usage
* {{ProCyclingStats}}
- Output
-
- {{ProCyclingStats}} template missing ID and not present in Wikidata.
Parameters
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
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 |
Tracking categories
- template with ID
- Category:ProCyclingStats template with ID different from Wikidata (520)
- Category:ProCyclingStats template with ID not in Wikidata (8)
- Category:ProCyclingStats template using ID not matching pattern (0)
- template missing ID
See also
- ProCyclingStats external link templates and Wikidata properties
- Template:ProCyclingStats team which uses Wikidata property ProCyclingStats team ID (P2328)
- Template:ProCyclingStats race which uses Wikidata property ProCyclingStats race ID (P2327)
- Cycling Archives external link templates and Wikidata properties
- Template:Cycling Archives which uses Wikidata property Cycling Archives cyclist ID (P1409)
- Template:Cycling Archives race
- Template:Cycling Archives race report which uses Wikidata property Cycling Archives race ID (P2330)
- Wikidata property Cycling Archives team ID (P2331)
- CQ Ranking external link templates and Wikidata properties
- Template:CQ Ranking which uses Wikidata properties CQ Ranking male cyclist ID (P1541) and CQ Ranking female cyclist ID (P2709)
- Wikidata properties CQ Ranking men's race ID (P2648) and CQ Ranking women's race ID (P2708)
- Wikidata property CQ Ranking men's team URL (P2649)
- CycleBase external link templates and Wikidata properties
- Template:CycleBase which uses Wikidata property CycleBase cyclist ID (P4508)
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.