Template:Tennis Hall of Fame displays an external link to a tennis player's profile at TennisFame.com, the official website of the International Tennis Hall of Fame. It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{Tennis Hall of Fame | ID }}
{{Tennis Hall of Fame | ID | NAME }}
Named parameters
{{Tennis Hall of Fame | id= ID }}
{{Tennis Hall of Fame | id= ID | name= NAME }}
Using Wikidata property
{{Tennis Hall of Fame}}
{{Tennis Hall of Fame | name= NAME }}

Examples

ID in template

Usage in the article Arthur Ashe, with article name as link text
* {{Tennis Hall of Fame | arthur-ashe }}
* {{Tennis Hall of Fame | id= arthur-ashe }}
Usage with name parameter as link text
* {{Tennis Hall of Fame | arthur-ashe | Arthur Ashe }}
* {{Tennis Hall of Fame | id= arthur-ashe | name= Arthur Ashe }}
Output
URLs
https://www.tennisfame.com/hall-of-famers/inductees/arthur-ashe
https://www.tennisfame.com/hall-of-famers/arthur-ashe (former URL, archived 2015-04-05)

ID in Wikidata

Usage in the article Margaret Court
* {{Tennis Hall of Fame}}
* {{Tennis Hall of Fame | name= Margaret Court }}
Output
URLs
https://www.tennisfame.com/hall-of-famers/inductees/margaret-smith-court
https://www.tennisfame.com/hall-of-famers/margaret-smith-court (former URL, archived 2015-04-05)

No ID in template or Wikidata

Usage
* {{Tennis Hall of Fame}}
Output

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Tennis Hall of Fame in articles based on its TemplateData.

TemplateData for Tennis Hall of Fame

This template displays an external link to a tennis player's profile at TennisFame.com, the official website of the International Tennis Hall of Fame. 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 arthur-ashe in http://www.tennisfame.com/hall-of-famers/inductees/arthur-ashe.

Default
Wikidata property P3363
Stringoptional
Namename 2

The link text, which should be the name of the tennis player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".

Default
{{PAGENAMEBASE}}
Stringoptional

Templates and modules used

See also


No tags for this post.