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

Usage

edit
Unnamed parameters
{{Golfdata | ID }}
{{Golfdata | ID | NAME }}
Named parameters
{{Golfdata | id= ID }}
{{Golfdata | id= ID | name= NAME }}
Using Wikidata property
{{Golfdata}}
{{Golfdata | name= NAME }}

Examples

edit

Unnamed parameters

edit
Usage
* {{Golfdata | 18166 | Camilla Lennarth }}
Output
URL
https://golfdata.se/guide/profil_startsida.asp?nr=18166

Named parameters

edit
Usage
* {{Golfdata | id= 1332 | name= Peter Hanson }}
Output
URL
https://golfdata.se/guide/profil_startsida.asp?nr=1332

No parameters and Wikidata property not defined

edit
Usage
* {{Golfdata}}
Output
  • {{Golfdata}} 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:Golfdata in articles based on its TemplateData.

TemplateData for Golfdata

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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

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
Numberoptional
namename 2

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
{{PAGENAMEBASE}}
Example
Camilla Lennarth
Stringoptional