Tɛmplet:ITF profile/doc
This is a documentation subpage for Tɛmplet:ITF profile. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template uses the Wikidata property: |
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. |
Tɛmplet:ITF profile displays an external link to a professional tennis player's profile at ITFtennis.com, the official website of the International Tennis Federation (ITF). It is intended for use in the external links section of an article.
Usage
mali niŋUnnamed parameters:
{{ITF profile | ID }}
{{ITF profile | ID | NAME }}
Named parameters:
{{ITF profile | id= ID }}
{{ITF profile | id= ID | name= NAME }}
Using Wikidata property P8618:
{{ITF profile}}
{{ITF profile | name= NAME }}
Examples
mali niŋNew ID (non-numeric) in template
mali niŋ- Usage in the article Roger Federer, with article name as link text
* {{ITF profile | roger-federer/800202678/sui }}
* {{ITF profile | id= roger-federer/800202678/sui }}
- Usage with name parameter as link text
* {{ITF profile | roger-federer/800202678/sui | Roger Federer }}
* {{ITF profile | id= roger-federer/800202678/sui | name= Roger Federer }}
- Output
-
- {{ITF profile}} template using deprecated numeric ID.
- Current URLs
- https://www.itftennis.com/en/players/roger-federer/800202678/sui
- https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview/
- Former URL
- https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=10019424 (archive)
New ID (non-numeric) in Wikidata
mali niŋ- Usage in the article Maria Sharapova
* {{ITF profile}}
* {{ITF profile | name= Maria Sharapova }}
- Output
-
- {{ITF profile}} template using deprecated numeric ID.
- Current URLs
- https://www.itftennis.com/en/players/maria-sharapova/800229006/rus
- https://www.itftennis.com/en/players/maria-sharapova/800229006/rus/wt/s/overview/
- Former URL
- https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=100013223 (archive)
Old ID (numeric) in template
mali niŋ- Usage
* {{ITF profile | 10019424 | Roger Federer }}
* {{ITF profile | id= 10019424 | name= Roger Federer }}
- Output
-
- {{ITF profile}} template using deprecated numeric ID.
No ID in template or Wikidata
mali niŋ- Usage
* {{ITF profile}}
- Output
-
- {{ITF profile}} template missing ID and not present in Wikidata.
TemplateData
mali niŋTemplateData for ITF profile
This template displays an external link to a professional tennis player's profile at ITFtennis.com, the official website of the International Tennis Federation (ITF). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: roger-federer/800202678/sui is the ID in https://www.itftennis.com/en/players/roger-federer/800202678/sui or https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview/.
| String | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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 |
Tracking categories
mali niŋ- template with ID
- Category:ITF template using non-numeric ID (0) – current ID and URL
- Category:ITF template using numeric ID (0) – should be empty
- template missing ID
- Category:ITF template using Wikidata property P8618 (0) – current ID and URL
- Category:ITF template missing ID and not in Wikidata (0) – should be empty
Templates and modules used
mali niŋ- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also
mali niŋ- {{ATP}} for a male player's profile at the Association of Tennis Professionals website
- {{WTA}} for a female player's profile at the Women's Tennis Association website
- {{Davis Cup player}} for a male player's profile at the Davis Cup website
- {{Billie Jean King Cup player}} for a female player's profile at the Billie Jean King Cup website
External links
mali niŋ