Template:LegendsTour player
{{{name}}} at the Legends Tour official site
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:LegendsTour player displays an external link to a golfer's profile at the Legends Tour's official websites: legendsofthelpga.com (new) and/or thelegendstour.com (old). It is intended for use in the external links section of an article.
Usage
[edit]One link
[edit]- One link (using article name)
{{LegendsTour player | alpha ID }}
{{LegendsTour player | id= alpha ID }}
{{LegendsTour player | old_id= numeric ID }}
- One link (using name parameter)
{{LegendsTour player | alpha ID | NAME }}
{{LegendsTour player | id= alpha ID | name= NAME }}
{{LegendsTour player | old_id= numeric ID | name= NAME }}
- One link (using Wikidata property)
{{LegendsTour player}}
{{LegendsTour player | name= NAME }}
Two links
[edit]- Two links (using article name)
{{LegendsTour player | alpha ID | old_id= numeric ID }}
{{LegendsTour player | id= alpha ID | old_id= numeric ID }}
- Two links (using name parameter)
{{LegendsTour player | alpha ID | NAME | old_id= numeric ID }}
{{LegendsTour player | id= alpha ID | name= NAME | old_id= numeric ID }}
- Two links (using Wikidata property)
{{LegendsTour player | old_id= numeric ID }}
{{LegendsTour player | name= NAME | old_id= numeric ID }}
Examples
[edit]One link
[edit]- URLs
- https://www.legendsofthelpga.com/players/tina-barrett (new website)
- http://players.thelegendstour.com/details.php?PID=49 (old website)
- Usage
* {{LegendsTour player | tina-barrett | Tina Barrett }}
* {{LegendsTour player | id= tina-barrett | name= Tina Barrett }}
* {{LegendsTour player | old_id= 49 | name= Carol Mann }}
- Output
-
- Tina Barrett at the Legends Tour official site
- Tina Barrett at the Legends Tour official site
- Carol Mann at the Legends Tour former site
Two links
[edit]- URLs
- https://www.legendsofthelpga.com/players/lorie-kane (new website)
- http://players.thelegendstour.com/details.php?PID=182 (old website)
- Usage
* {{LegendsTour player | lorie-kane | Lorie Kane | old_id= 182 }}
* {{LegendsTour player | id= lorie-kane | name= Lorie Kane | old_id= 182 }}
- Output
-
- Lorie Kane at the Legends Tour official site (also at former site)
- Lorie Kane at the Legends Tour official site (also at former site)
No parameters and no ID in Wikidata
[edit]- Usage
* {{LegendsTour player}}
- Output
-
- {{LegendsTour player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for LegendsTour player
Template:LegendsTour player displays an external link to a golfer's profile at the Legends Tour's official websites: legendsofthelpga.com (new) and/or thelegendstour.com (old). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL at the current website, such as tina-barrett in https://www.legendsofthelpga.com/players/tina-barrett.
| String | optional |
id | old_id | The ID number in the URL at the former website, such as 49 in http://players.thelegendstour.com/details.php?PID=49. | Number | 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 |
Tracking categories
[edit]External links
[edit]- Legends Tour players at LegendsOfTheLPGA.com