Template:EuroTour player displays an external link to a golfer's profile at europeantour.com, the official European Tour website. It is intended for use in the external links section of an article.

Usage

edit
Unnamed parameters
{{EuroTour player | ID }}
{{EuroTour player | ID | NAME }}
Named parameters
{{EuroTour player | id= ID }}
{{EuroTour player | id= ID | name= NAME }}
Using Wikidata property European Tour golf player ID (P3521)
{{EuroTour player}}
{{EuroTour player | name= NAME }}

Examples

edit

Unnamed parameters

edit
Usage
* {{EuroTour player | 2586 | Colin Montgomerie }}
Output
URLs
https://www.europeantour.com/players/colin-montgomerie-2586/ (from website)
https://www.europeantour.com/players/2586/ (used in template)

Named parameters

edit
Usage
* {{EuroTour player | id= 139 | name= Greg Norman }}
Output
URLs
https://www.europeantour.com/players/greg-norman-139/ (from website)
https://www.europeantour.com/players/139/ (used in template)

No parameters and Wikidata property not defined

edit
Usage
* {{EuroTour 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:EuroTour player in articles based on its TemplateData.

TemplateData for EuroTour player

This template displays an external link to a golfer's profile at europeantour.com, the official European 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 2586 in https://www.europeantour.com/players/colin-montgomerie-2586/ or https://www.europeantour.com/players/2586/. This parameter is optional if Wikidata property P3521 exists, but required if not.

Default
Wikidata property P3521
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}}
Stringoptional

See also

edit
edit