الگو:ProCyclingStats
{{{name}}} در ProCyclingStats
این الگو از لوآ استفاده میکند: |
الگو: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
ویرایشUnnamed parameters:
{{ProCyclingStats | ID }}
{{ProCyclingStats | ID | NAME }}
{{ProCyclingStats | ID | NAME | accessdate=DATE }}
Named parameters:
{{ProCyclingStats | id=ID}}
{{ProCyclingStats | id=ID | name=NAME }}
{{ProCyclingStats | id=ID | name=NAME | accessdate=DATE }}
Using ویکیداده property P1663:
{{ProCyclingStats}}
{{ProCyclingStats | name=NAME }}
{{ProCyclingStats | name=NAME | accessdate=DATE }}
Examples
ویرایشUnnamed parameters
ویرایشURLs:
- https://www.procyclingstats.com/rider/140762
- https://www.procyclingstats.com/rider/cadel-evans
- https://www.procyclingstats.com/rider/Cadel_Evans
Usage:
* {{ProCyclingStats | 140762 | Cadel Evans }}
* {{ProCyclingStats | cadel-evans | Cadel Evans }}
* {{ProCyclingStats | Cadel_Evans | Cadel Evans }}
Output:
- Cadel Evans در ProCyclingStats
- Cadel Evans در ProCyclingStats
- Cadel Evans در ProCyclingStats
Named parameters
ویرایشURLs:
- https://www.procyclingstats.com/rider/140857
- https://www.procyclingstats.com/rider/ellen-van-dijk
- https://www.procyclingstats.com/rider/Ellen_van_Dijk
Usage:
* {{ProCyclingStats |id= 140857 |name= Ellen van Dijk |accessdate= 29 June 2015 }}
* {{ProCyclingStats |id= ellen-van-dijk |name= Ellen van Dijk |accessdate= 29 June 2015 }}
* {{ProCyclingStats |id= Ellen_van_Dijk |name= Ellen van Dijk |accessdate= 29 June 2015 }}
Output:
- Ellen van Dijk در ProCyclingStats. Retrieved 29 June 2015.
- Ellen van Dijk در ProCyclingStats. Retrieved 29 June 2015.
- Ellen van Dijk در ProCyclingStats. Retrieved 29 June 2015.
No parameters and Wikidata property not defined
ویرایشUsage:
* {{ProCyclingStats}}
Output:
- ProCyclingStats ID missing and not present in Wikidata (see documentation at Template:ProCyclingStats).
Parameters
ویرایشThe id
parameter (or راهنما:الگو 1
) should contain the ID portion the نشانی وب for the rider's page at the ProCyclingStats web site. Examples: 140762 is the ID portion of https://www.procyclingstats.com/rider/140762, ellen-van-dijk is the ID portion of https://www.procyclingstats.com/rider/ellen-van-dijk, and Ellen_Van_Dijk is the ID portion of https://www.procyclingstats.com/rider/Ellen_Van_Dijk. This parameter is optional if ویکیداده property P1663 exists, but required if not.
The name
parameter (or unnamed parameter 2
) may be used to specify the انکر تکست (متن لینک), 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 accessdate
parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.
TemplateData
ویرایشالگوداده ProCyclingStats
This template displays an external link to a rider's page at the ProCyclingStats website (www.ProCyclingStats.com). It is intended for use in the External links section of an article.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: 140762 is the ID portion of https://www.procyclingstats.com/rider/140762, ellen-van-dijk is the ID portion of https://www.procyclingstats.com/rider/ellen-van-dijk, and Ellen_Van_Dijk is the ID portion of https://www.procyclingstats.com/rider/Ellen_Van_Dijk. This parameter is optional if Wikidata property P1663 exists, but required if not.
| رشته | اختیاری |
Name | name 2 | 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)".
| رشته | اختیاری |
Access date | accessdate | The "accessdate" parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.
| تاریخ | اختیاری |
Tracking categories
ویرایش- "id" parameter exists
- رده:ProCyclingStats ID (cyclist) not in Wikidata (۰)
- رده:شناسه ProCyclingStats (cyclist) متفاوت با ویکیداده (۲)
- رده:شناسه ProCyclingStats (cyclist) یکسان با ویکیداده (۲۰)
- "id" parameter does not exist
- رده:ProCyclingStats rider template using Wikidata (۲۴)
- رده:ProCyclingStats rider template missing ID (۰)
See also
ویرایش- ProCyclingStats templates
- Template:ProCyclingStats team which uses Wikidata property شناسۀ پروسایکلیست برای تیم دوچرخهسواری (P2328)
- Template:ProCyclingStats race which uses Wikidata property شناسۀ مسابقات دوچرخهسواری (P2327)
- Other cyclist templates
- الگو:Cycling archives which uses Wikidata property شناسۀ دوچرخهسوار (P1409)
- الگو:CQ ranking which uses Wikidata properties شناسۀ سی کیو برای دوچرخهسواران مرد (P1541) and CQ Ranking female cyclist ID (P2709)