Jump to content

Template:WPGA Tour Australasia player/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]
Unnamed parameters
{{WPGA Tour Australasia player | ID }}
{{WPGA Tour Australasia player | ID | NAME }}
Named parameters
{{WPGA Tour Australasia player | id= ID }}
{{WPGA Tour Australasia player | id= ID | name= NAME }}
Using Wikidata property WPGA Tour Australasia player ID (P11758)
{{WPGA Tour Australasia player}}
{{WPGA Tour Australasia player | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{WPGA Tour Australasia player | bristow-cathryn | Cathryn Bristow }}
Output
Current URL
https://wpga.org.au/players/bristow-cathryn/
Former URL (different ID)
https://wpga.org.au/player/cathryn_bristow.html (archive 2022-10-12)

Named parameters

[edit]
Usage
* {{WPGA Tour Australasia player | id= kirk-katherine | name= Katherine Kirk }}
Output
Current URL
https://wpga.org.au/players/kirk-katherine/
Former URL (different ID)
https://wpga.org.au/player/katherine_kirk.html (archive 2022-01-22)

No ID in template or Wikidata

[edit]
Usage
  • {{WPGA Tour Australasia 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:WPGA Tour Australasia player in articles based on its TemplateData.

TemplateData for WPGA Tour Australasia player

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

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the current URL, such as bristow-cathryn in https://wpga.org.au/players/bristow-cathryn/. This parameter is optional if Wikidata property P11758 exists, but required if not.

Default
Wikidata property P11758
Example
bristow-cathryn
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}}
Example
Cathryn Bristow
Stringoptional

See also

[edit]
[edit]