This is a documentation subpage for Template:Tennis Hall of Fame. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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 edit
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 P3363:
{{Tennis Hall of Fame}}
{{Tennis Hall of Fame | name= NAME }}
Examples edit
ID in template edit
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 edit
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 edit
Usage:
* {{Tennis Hall of Fame}}
Output:
- {{Tennis Hall of Fame}} template missing ID and not present in Wikidata.
TemplateData edit
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: arthur-ashe is the ID in http://www.tennisfame.com/hall-of-famers/inductees/arthur-ashe.
| String | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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)".
| String | optional |
Templates and modules used edit
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also edit
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{ATP}}} – external link to player page at the Association of Tennis Professionals
- {{WTA}} – external link to player page at the Women's Tennis Association