Jump to content

Template:World Golf Hall of Fame/doc

From Wikipedia, the free encyclopedia

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
URL
http://www.worldgolfhalloffame.org/carol-semple-thompson/

Named parameters

[edit]
Usage
* {{World Golf Hall of Fame | id= ian-woosnam | name= Ian Woosnam }}
Output
URL
http://www.worldgolfhalloffame.org/ian-woosnam/

No parameters and Wikidata property not defined

[edit]
Usage
* {{World Golf Hall of Fame}}
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:World Golf Hall of Fame in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P4461
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}}
Stringoptional
[edit]