Template:LPGA player/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * 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 (2012–2015, same player, different ID)
 * http:// www.lpga.com/golf/players/w/karrie-webb.aspx


 * Former URL (2004–2012, same player, different ID)
 * http:// www.lpga.com/player_results.aspx?id=200

Named parameters

 * Usage


 * 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 (2012–2015, same player, different ID)
 * http:// www.lpga.com/golf/players/w/michelle-wie.aspx


 * Former URL (2009–2012, same player, different ID)
 * http:// www.lpga.com/player_results.aspx?id=18563

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "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.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "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.", "type": "string", "required": false, "default": "Wikidata property P2810" },   "name": { "label": "Name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }