Template:LPGA player
{{{name}}} at the LPGA Tour official site
This template uses Lua: |
Template:LPGA player displays an external link to a golfer's profile at lpga.com, the official LPGA Tour website. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{LPGA player | ID }}
{{LPGA player | ID | NAME }}
- Named parameters
{{LPGA player | id= ID }}
{{LPGA player | id= ID | name= NAME }}
- Using Wikidata property LPGA Tour golf player ID (P2810)
{{LPGA player}}
{{LPGA player | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{LPGA player | karrie-webb/82313 | Karrie Webb }}
* {{LPGA player | 82313 | Karrie Webb }}
- Output
-
- Karrie Webb at the LPGA Tour official site
- Karrie Webb at the LPGA Tour official site
- Current URL (since 2015)
- https://www.lpga.com/players/karrie-webb/82313/overview (full ID as used at LPGA website and in Wikidata)
- https://www.lpga.com/players/-/82313/overview (ID number only)
- Former URL (2012–2015, same player, different ID)
- http://www.lpga.com/golf/players/w/karrie-webb.aspx
Named parameters
- Usage
* {{LPGA player | id= michelle-wie/88106 | name= Michelle Wie }}
* {{LPGA player | id= 88106 | name= Michelle Wie }}
- Output
-
- Michelle Wie at the LPGA Tour official site
- Michelle Wie at the LPGA Tour official site
- Current URL (since 2015)
- https://www.lpga.com/players/michelle-wie/88106/overview (full ID as used at LPGA website and in Wikidata)
- https://www.lpga.com/players/-/88106/overview (ID number only)
- Former URL (2012–2015, same player, different ID)
- http://www.lpga.com/golf/players/w/michelle-wie.aspx
No parameters and Wikidata property not defined
- Usage
-
{{LPGA player}}
- Output
-
- {{LPGA player}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for LPGA player
This template displays an external link to a golfer's profile at lpga.com, the official LPGA Tour website. 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, such as michelle-wie/88106 or 88106 in https://www.lpga.com/players/michelle-wie/88106/overview. This parameter is optional if Wikidata property P2810 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 |
Tracking category
See also
- {{PGA Tour player}}