{{{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:

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:

No parameters and Wikidata property not defined ویرایش

Usage:

* {{ProCyclingStats}}

Output:

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 ویرایش

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده 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.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
IDid 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.

پیش‌فرض
Wikidata property P1663
رشتهاختیاری
Namename 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)".

پیش‌فرض
{{PAGENAMEBASE}}
رشتهاختیاری
Access dateaccessdate

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
"id" parameter does not exist

See also ویرایش

ProCyclingStats templates
Other cyclist templates