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 edit

Unnamed 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 edit

Unnamed parameters edit

Usage:

* {{Tennis Archives | 2764 | Patrick Dennis Benham (Pat) Spence }}

Output:

URL:

https://www.tennisarchives.com/player/?pl=2764

Named parameters edit

Usage:

* {{Tennis Archives | id= 12 | name= Algernon Robert Fitzhardinge (Algie) Kingscote }}

Output:

URL:

https://www.tennisarchives.com/player/?pl=12

No ID in template or Wikidata edit

Usage
* {{Tennis Archives}}
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:Tennis Archives in articles based on its TemplateData.

TemplateData 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.

Template parameters

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

Default
Wikidata property P3670
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional