Jump to content

Template:WWGR/doc

From Wikipedia, the free encyclopedia

Template:WWGR displays an external link to a golfer's profile at rolexrankings.com, the official Women's World Golf Rankings website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{WWGR | ID }}
{{WWGR | ID | NAME }}
Named parameters
{{WWGR | id= ID }}
{{WWGR | id= ID | name= NAME }}
Using Wikidata property Women's World Golf Rankings player ID (P12018)
{{WWGR}}
{{WWGR | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{WWGR | 5259 | Georgia Hall }}
Output
URL
https://www.rolexrankings.com/players/5259

Named parameters

[edit]
Usage
* {{WWGR | id= 3007 | name= Lexi Thompson }}
Output
URL
https://www.rolexrankings.com/players/3007

No parameters

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

TemplateData for WWGR

This template displays an external link to a golfer's profile at rolexrankings.com, the official Women's World Golf Rankings 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 5259 in https://www.rolexrankings.com/players/5259. This parameter is optional if Wikidata property P12018 exists, but required if not.

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