Jump to content

Template:AustralasiaTour player/doc

From Wikipedia, the free encyclopedia

Template:AustralasiaTour player displays an external link to a golfer's profile at pga.org.au, the official PGA Tour of Australasia website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{AustralasiaTour player | ID }}
{{AustralasiaTour player | ID | NAME }}
Named parameters
{{AustralasiaTour player | id= ID }}
{{AustralasiaTour player | id= ID | name= NAME }}
Using Wikidata property
{{AustralasiaTour player}}
{{AustralasiaTour player | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{AustralasiaTour player | 006720 | Adam Scott }}
Output
URL
https://pga.org.au/player-profile/?player=006720

Named parameters

[edit]
Usage
* {{AustralasiaTour player | id= 006216 | name= Geoff Ogilvy }}
Output
URL
https://pga.org.au/player-profile/?player=006216

No parameters

[edit]
Usage
* {{AustralasiaTour 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:AustralasiaTour player in articles based on its TemplateData.

TemplateData for AustralasiaTour player

This template displays an external link to a golfer's profile at pga.org.au, the official PGA Tour of Australasia 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 006720 in https://pga.org.au/player-profile/?player=006720. This parameter is optional if Wikidata property P11191 exists, but required if not.

Default
Wikidata property P11191
Numberoptional
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]