Template:EuroTour player
{{{name}}} at the European Tour official site
| This template uses Lua: |
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
Omit the ID to use the Wikidata property.
- Article name as link text
{{EuroTour player | ID }}{{EuroTour player | id= ID }}
- Parameter as link text
{{EuroTour player | ID | NAME }}{{EuroTour player | id= ID | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{EuroTour player | 2586 | Colin Montgomerie }}* {{EuroTour player | colin-montgomerie-2586 | Colin Montgomerie }}
- Output
- Colin Montgomerie at the European Tour official site
- Colin Montgomerie at the European Tour official site
- URLs
- https://www.europeantour.com/players/2586/ (ID number as used in Wikidata)
- https://www.europeantour.com/players/colin-montgomerie-2586/ (full ID as used at website)
Named parameters
- Usage
* {{EuroTour player | id= 139 | name= Greg Norman }}* {{EuroTour player | id= greg-norman-139 | name= Greg Norman }}
- Output
- Greg Norman at the European Tour official site
- Greg Norman at the European Tour official site
- URLs
- https://www.europeantour.com/players/139/ (ID number as used in Wikidata)
- https://www.europeantour.com/players/greg-norman-139/ (full ID as used at website)
No parameters and Wikidata property not defined
- Usage
* {{EuroTour player}}
- Output
- {{EuroTour player}} template missing ID and not present in Wikidata.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID number in the URL, such as 2586 in https://www.europeantour.com/players/2586/ or colin-montgomerie-2586 in https://www.europeantour.com/players/colin-montgomerie-2586/. This parameter is optional if Wikidata property P3521 exists, but required if not.
| String | 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 |