This is a documentation subpage for Template:WWGR. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
editUnnamed parameters
edit- Usage
* {{WWGR | 5259 | Georgia Hall }}
- Output
-
- Georgia Hall at the Women's World Golf Rankings official site
Named parameters
edit- Usage
* {{WWGR | id= 3007 | name= Lexi Thompson }}
- Output
-
- Lexi Thompson at the Women's World Golf Rankings official site
No parameters
edit- Usage
* {{WWGR}}
- Output
-
- {{WWGR}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| Number | optional |
Name | name 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)".
| String | optional |
See also
edit- {{OWGR}} for Official World Golf Ranking