Template:PGATour player/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

where:
 * is the identifier in player's URL, which can be found at player search pages for the PGA Tour, the PGA Tour Champions (formerly the Champions Tour), or the Korn Ferry Tour (formerly the Web.com Tour). See the examples below.
 * is the player's name (optional, defaults to Wikipedia article name).

Unnamed parameters

 * Usage


 * Output


 * URLs
 * https://www.pgatour.com/player/01249 (ID number as used in Wikidata)
 * https://www.pgatour.com/player/01249/john-daly (full ID as used at PGA Tour website)

Named parameters

 * Usage


 * Output


 * URLs
 * https://www.pgatour.com/player/01876 (ID number as used in Wikidata)
 * https://www.pgatour.com/player/01876/greg-norman (full ID as used at PGA Tour website)

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a golfer's profile at pgatour.com, the official PGA 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 01249/john-daly or 01249 in https://www.pgatour.com/player/01249/john-daly. This parameter is optional if Wikidata property P2811 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P2811" },   "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" ] }