{{{name}}} at the Asian Tour official site
This template uses Lua: |
Template:AsianTour player displays an external link to a golfer's profile at asiantour.com, the official Asian Tour website. It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters
{{AsianTour player | ID }}
{{AsianTour player | ID | NAME }}
- Named parameters
{{AsianTour player | id= ID }}
{{AsianTour player | id= ID | name= NAME }}
{{AsianTour player | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property
{{AsianTour player}}
{{AsianTour player | name= NAME }}
Examples
editUnnamed parameters
edit- Usage
* {{AsianTour player | 100183 | Jyoti Randhawa }}
- Output
-
- Jyoti Randhawa at the Asian Tour official site
- Current URL
- https://asiantour.com/playerprofile/100183
- Former URL (same ID number)
- https://asiantour.com/player-detail/?player=100183
- Former URL (different ID number, 2018–2019)
- https://www.asiantour.com/playerprofile/Jyoti-RANDHAWA-p110 (from website)
- https://www.asiantour.com/playerprofile/-p110 (used in template)
Named parameters
edit- Usage
* {{AsianTour player | id= 100885 | name= Thongchai Jaidee | archive= 20170831025150 }}
- Output
-
- Thongchai Jaidee at the Asian Tour official site (archived)
- Current URL
- https://asiantour.com/playerprofile/100885
- Former URL (same ID number)
- https://asiantour.com/player-detail/?player=100885
- Former URL (different ID number, 2018–2019)
- https://www.asiantour.com/playerprofile/Thongchai-JAIDEE-p275 (from website)
- https://www.asiantour.com/playerprofile/-p275 (used in template)
- Former URL (same ID number, 2013–2018)
- http://www.asiantour.com/players/100885/ (archive)
No parameters
edit- Usage
* {{AsianTour player}}
- Output
-
- {{AsianTour player}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for AsianTour player
This template displays an external link to a golfer's profile at asiantour.com, the official Asian Tour website. 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 100183 in https://asiantour.com/playerprofile/100183. This parameter is optional if Wikidata property P11141 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the golfer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(golfer)".
| String | optional |
Internet Archive date/time | archive | A number indicating the date and time of an archive at the Internet Archive website, such as 20170831025150 in https://web.archive.org/web/20170831025150/http://www.asiantour.com/players/100885/ (2017-08-31 02:51:50 archive of http://www.asiantour.com/players/100885/).
| Number | optional |