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

edit
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

edit

Unnamed parameters

edit
Usage
* {{LPGA player | karrie-webb/82313 | Karrie Webb }}
* {{LPGA player | 82313 | Karrie Webb }}
Output
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 (20122015, same player, different ID)
http://www.lpga.com/golf/players/w/karrie-webb.aspx
Former URL (20042012, same player, different ID)
http://www.lpga.com/player_results.aspx?id=200

Named parameters

edit
Usage
* {{LPGA player | id= michelle-wie/88106 | name= Michelle Wie }}
* {{LPGA player | id= 88106 | name= Michelle Wie }}
Output
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 (20122015, same player, different ID)
http://www.lpga.com/golf/players/w/michelle-wie.aspx
Former URL (20092012, same player, different ID)
http://www.lpga.com/player_results.aspx?id=18563

No parameters and Wikidata property not defined

edit
Usage
  • {{LPGA player}}
Output
  • {{LPGA player}} template missing ID and not present in Wikidata.

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:LPGA player in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

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

Tracking category

edit

See also

edit
edit