قالب:Tennis Archives/doc

من ويكيبيديا، الموسوعه الحره

قالب: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[تعديل]

Unnamed parameters:

{{Tennis Archives | ID }}
{{Tennis Archives | ID | NAME }}

Named parameters:

{{Tennis Archives | id= ID }}
{{Tennis Archives | id= ID | name= NAME }}

Using Wikidata property [[d:Special:EntityPage/P3670|

(P3670)]]:
{{Tennis Archives}} template missing ID and not present in Wikidata.
{{Tennis Archives | name= NAME }}

Examples[تعديل]

Unnamed parameters[تعديل]

Usage:

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

Output:

URL:

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

Named parameters[تعديل]

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[تعديل]

Usage
* {{Tennis Archives}} template missing ID and not present in Wikidata.
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 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.

وسائط القالب

وسيطوصفنوعحالة
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.

غيابي
Wikidata property P3670
رقماختياري
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)".

غيابي
{{PAGENAMEBASE}}
نصاختياري