Difference between revisions of "Template:ATP"
m (Changed protection level of Template:ATP: Highly-visible template (between 700 and 1200 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:06, 22 March 2014
ATP at the Association of Tennis Professionals
Usage
{{ATP|id=000000|name=yyy}}
To find the id number:
- Go to the player's ATP profile page
- In the "Head to head" edit box on the right enter any player and submit
- You'll see their head to head record, and pId in the URL is the ID in question
* copied from GregorB's comment at WikiProject Tennis
Another way to find the id number:
- Go to the player's ATP profile page.
- View the HTML source of the page (found via the pop-up menu when right-clicking somewhere on the page).
- Search for the text "initPlayerLiveScoreParams", and use the code following that string.
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.
Example
{{ATP|id=A092|name=Andre Agassi}}
gives
Andre Agassi at the Association of Tennis Professionals
See also
- {{Wta}}
- {{ITF male profile}}
- {{ITF female profile}}
The above documentation is transcluded from Template:ATP/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |