{{{name}}} at the Association of Tennis Professionals
![]() | This template uses Lua: |
![]() | This template is used on many 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. |
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.
{{Association of Tennis Professionals link | ID }}
{{Association of Tennis Professionals link | ID | NAME }}
{{Association of Tennis Professionals link | id= ID }}
{{Association of Tennis Professionals link | id= ID | name= NAME }}
{{Association of Tennis Professionals link}}
{{Association of Tennis Professionals link | name= NAME }}
* {{Association of Tennis Professionals link | a092 }}
* {{Association of Tennis Professionals link | id= a092 }}
* {{Association of Tennis Professionals link | a092 | Andre Agassi }}
* {{Association of Tennis Professionals link | id= a092 | name= Andre Agassi }}
* {{Association of Tennis Professionals link}}
* {{Association of Tennis Professionals link | name= Björn Borg }}
* {{Association of Tennis Professionals link}}
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 |