{{{name}}} at the Association of Tennis Professionals
This template uses Lua: |
This template is used on approximately 5,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
Template:Association of Tennis Professionals link displays an external link to a tennis player's profile at ATPtour.com (formerly ATPworldtour.com), the official website of the Association of Tennis Professionals (ATP). It is intended for use in the external links section of an article.
{{ATP | ID }}
{{ATP | ID | NAME }}
{{ATP | id= ID }}
{{ATP | id= ID | name= NAME }}
* {{ATP | a092 }}
* {{ATP | id= a092 }}
* {{ATP | a092 | Andre Agassi }}
* {{ATP | id= a092 | name= Andre Agassi }}
* {{ATP}}
* {{ATP | name= Björn Borg }}
* {{ATP}}
To find the id number:
* copied from GregorB's comment at WikiProject Tennis
Another way to find the id number:
The name parameter is optional. It defaults to the page name, so it is necessary to provide it only when the player's name differs from the article name.
TemplateData for Association of Tennis Professionals link
This template displays an external link to a tennis player's profile at ATPtour.com (formerly ATPworldtour.com), the official website of the Association of Tennis Professionals (ATP). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, which is not case-sensitive. It starts with the first letter of the player's surname and ends with three characters which may be letters or numbers. Examples: a092 or A092 for https://www.atptour.com/en/players/andre-agassi/a092/overview, mc10 or MC10 for https://www.atptour.com/en/players/andy-murray/mc10/overview, and p0dt or P0DT for https://www.atptour.com/en/players/frithjof-prydz/p0dt/overview.
| String | optional |
name | name 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)".
| String | optional |