Template:Golfdata
{{{name}}} at the Golfdata official site (in Swedish)
- Golfdata ID (P11229) (see uses)
This template uses Lua: |
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
- 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
Unnamed parameters
- Usage
* {{Golfdata | 18166 | Camilla Lennarth }}
- Output
-
- Camilla Lennarth at the Golfdata official site (in Swedish)
Named parameters
- Usage
* {{Golfdata | id= 1332 | name= Peter Hanson }}
- Output
-
- Peter Hanson at the Golfdata official site (in Swedish)
No parameters and Wikidata property not defined
- Usage
* {{Golfdata}}
- Output
-
- {{Golfdata}} template missing ID and not present in Wikidata.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |