Template:Golfdata/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


 * URL
 * https://golfdata.se/guide/profil_startsida.asp?nr=18166

Named parameters

 * Usage


 * Output


 * URL
 * https://golfdata.se/guide/profil_startsida.asp?nr=1332

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a golfer's profile at Golfdata.se, a Swedish language website. It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The ID number in the URL, such as 18166 in https://golfdata.se/sgfranking/players_startpage?PlayerID=18166. This parameter is optional if Wikidata property P11229 exists, but required if not.", "default": "Wikidata property P11229", "example": "18166", "type": "number", "required": false },   "name": { "label": "name", "aliases": ["2"], "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify 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": "", "example": "Camilla Lennarth", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }