Template:AsianTour player/doc

From blackwiki
< Template:AsianTour player
Revision as of 12:11, 5 November 2018 by blackwiki>Zyxw (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Unnamed parameters
{{AsianTour player | ID }}
{{AsianTour player | ID | NAME }}
Named parameters
{{AsianTour player | id= ID }}
{{AsianTour player | id= ID | name= NAME }}

Examples

Unnamed parameters

URLs
https://www.asiantour.com/playerprofile/Jyoti-RANDHAWA-p110 (from website)
https://www.asiantour.com/playerprofile/-p110 (used in template)
Usage
* {{AsianTour player | 110 | Jyoti Randhawa }}
Output

Named parameters

URLs
https://www.asiantour.com/playerprofile/Thongchai-JAIDEE-p275 (from website)
https://www.asiantour.com/playerprofile/-p275 (used in template)
Usage
* {{AsianTour player | id= 275 | name= Thongchai Jaidee }}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 110 is the ID portion of https://www.asiantour.com/playerprofile/Jyoti-RANDHAWA-p110 or https://www.asiantour.com/playerprofile/-p110.

Numberrequired
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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}}
Stringoptional