Template:EuroTour player/doc
![]() | This is a documentation subpage for Template:EuroTour player. It contains usage information, categories and other content that is not part of the original template page. |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
NO LABEL (P3521) (see uses)
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
- Unnamed parameters
{{EuroTour player | ID }}
{{EuroTour player | ID | NAME }}
- Named parameters
{{EuroTour player | id= ID }}
{{EuroTour player | id= ID | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{EuroTour player | 2586 | Colin Montgomerie }}
- Output
-
- Colin Montgomerie at the European Tour official site
- URLs
- https://www.europeantour.com/players/colin-montgomerie-2586/ (from website)
- https://www.europeantour.com/players/2586/ (used in template)
Named parameters
- Usage
* {{EuroTour player | id= 139 | name= Greg Norman }}
- Output
-
- Greg Norman at the European Tour official site
- 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
- 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 2586 is the ID portion of 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.
| Number | optional |
name | name 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 Justapedia article name, without any disambiguation such as "(golfer)".
| String | optional |
See also