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

edit

Unnamed parameters

edit
Usage
* {{AsianTour player | 100183 | Jyoti Randhawa }}
Output
Current URL
https://asiantour.com/playerprofile/100183
Former URL (same ID number)
https://asiantour.com/player-detail/?player=100183
Former URL (different ID number, 20182019)
https://www.asiantour.com/playerprofile/Jyoti-RANDHAWA-p110 (from website)
https://www.asiantour.com/playerprofile/-p110 (used in template)
Former URL (same ID number, 20132018)
http://www.asiantour.com/players/100183/ (archive)

Named parameters

edit
Usage
* {{AsianTour player | id= 100885 | name= Thongchai Jaidee | archive= 20170831025150 }}
Output
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

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:AsianTour player in articles based on its TemplateData.

TemplateData 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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P11141
Example
100183
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Example
Jyoti Randhawa
Stringoptional
Internet Archive date/timearchive

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/).

Example
20170831025150
Numberoptional