{{{name}}} at the Tennis Archives
This template uses Lua: |
Template:Tennis Archives displays an external link to a tennis player's page at the Tennis Archives website (TennisArchives.com). It is intended for use in the external links section of an article.
Usage
editUnnamed parameters:
{{Tennis Archives | ID }}
{{Tennis Archives | ID | NAME }}
Named parameters:
{{Tennis Archives | id= ID }}
{{Tennis Archives | id= ID | name= NAME }}
Using Wikidata property Tennis Archives player ID (P3670):
{{Tennis Archives}}
{{Tennis Archives | name= NAME }}
Examples
editUnnamed parameters
editUsage:
* {{Tennis Archives | 2764 | Patrick Dennis Benham (Pat) Spence }}
Output:
- Patrick Dennis Benham (Pat) Spence at the Tennis Archives
URL:
Named parameters
editUsage:
* {{Tennis Archives | id= 12 | name= Algernon Robert Fitzhardinge (Algie) Kingscote }}
Output:
- Algernon Robert Fitzhardinge (Algie) Kingscote at the Tennis Archives
URL:
No ID in template or Wikidata
edit- Usage
* {{Tennis Archives}}
- Output
-
- {{Tennis Archives}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for Tennis Archives
This template displays an external link to a tennis player's page at the Tennis Archives website (TennisArchives.com). 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. Examples: 2764 is the ID portion of http://www.tennisarchives.com/player.php?playerid=2764. This parameter is optional if Wikidata property P3670 exists, but required if not.
| Number | 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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".
| String | optional |