Template:SunshineTour player displays an external link to a golfer's profile at the official Sunshine Tour website. It is intended for use in the external links section of an article.

Usage

edit
Unnamed parameters
{{SunshineTour player | ID }}
{{SunshineTour player | ID | NAME }}
Named parameters
{{SunshineTour player | id= ID }}
{{SunshineTour player | id= ID | name= NAME }}
Using Wikidata property Sunshine Tour golf player ID (P3582)
{{SunshineTour player}}
{{SunshineTour player | name= NAME }}

Examples

edit

Unnamed parameters

edit
Usage
* {{SunshineTour player | ELS001 | Ernie Els }}
Output
URLs
https://www.sunshinetour.info/profiles/profile.php?player=ELS001
https://sunshinetour.com/playerprofile/ELS001

Named parameters

edit
Usage
* {{SunshineTour player | id= COE015 | name= George Coetzee }}
Output
URLs
https://www.sunshinetour.info/profiles/profile.php?player=COE015
https://sunshinetour.com/playerprofile/COE015

No parameters and Wikidata property not defined

edit
Usage
* {{SunshineTour player}}
Output

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:SunshineTour player in articles based on its TemplateData.

TemplateData for SunshineTour player

This template displays an external link to a golfer's profile at the official Sunshine Tour website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as ELS001 in https://www.sunshinetour.info/profiles/profile.php?player=ELS001 or https://sunshinetour.com/playerprofile/ELS001. This parameter is optional if Wikidata property P3582 exists, but required if not.

Default
Wikidata property P3582
Stringoptional
Namename 2

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}}
Stringoptional

See also

edit