Template:World Golf Hall of Fame
{{{name}}} at the World Golf Hall of Fame
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:World Golf Hall of Fame displays an external link to a golfer's profile at the World Golf Hall of Fame website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{World Golf Hall of Fame | ID }}
{{World Golf Hall of Fame | ID | NAME }}
- Named parameters
{{World Golf Hall of Fame | id= ID }}
{{World Golf Hall of Fame | id= ID | name= NAME }}
- Using Wikidata property World Golf Hall of Fame player ID (P4461)
{{World Golf Hall of Fame}}
{{World Golf Hall of Fame | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{World Golf Hall of Fame | carol-semple-thompson | Carol Semple Thompson }}
- Output
Named parameters
[edit]- Usage
* {{World Golf Hall of Fame | id= ian-woosnam | name= Ian Woosnam }}
- Output
No parameters and Wikidata property not defined
[edit]- Usage
* {{World Golf Hall of Fame}}
- Output
-
- {{World Golf Hall of Fame}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for World Golf Hall of Fame
This template displays an external link to a golfer's profile at the World Golf Hall of Fame website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as ian-woosnam in http://www.worldgolfhalloffame.org/ian-woosnam/. This parameter is optional if Wikidata property P4461 exists, but required if not.
| String | 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 |