Template:WTT player
{{{name}}} at World Table Tennis
This template uses Lua: |
Template:WTT player displays an external link to a table tennis player's profile at the World Table Tennis (WTT) website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{WTT player | ID }}
{{WTT player | ID | NAME }}
- Named parameters
{{WTT player | id= ID }}
{{WTT player | id= ID | name= NAME }}
- Using Wikidata property
{{WTT player}}
{{WTT player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
{{WTT player | 105649 | MA Long }}
- Output
- MA Long at World Table Tennis
- Former URLs using same Player ID
- http://results.ittf.link/index.php?option=com_fabrik&view=details&formid=99&rowid=105649 (archive 2023-02-20)
- http://old.ittf.com/biography/biography_web_details.asp?Player_ID=105649 (archive 2017-01-11)
- http://old.ittf.com/ittf_ranking/WR_Table_3_A2_Details.asp?Player_ID=105649 (archive 2017-01-05)
- http://old.ittf.com/ittf_ranking/world_ranking_per_name.asp?Player_ID=105649
Named parameters
[edit]- Usage
{{WTT player |id= 102265 |name= DING Ning }}
- Output
- DING Ning at World Table Tennis
- Former URLs using same Player ID
- http://results.ittf.link/index.php?option=com_fabrik&view=details&formid=99&rowid=102265 (archive 2023-04-01)
- http://old.ittf.com/biography/biography_web_details.asp?Player_ID=102265 (archive 20170-01-11)
- http://old.ittf.com/ittf_ranking/WR_Table_3_A2_Details.asp?Player_ID=102265 (archive 2017-01-05)
- http://old.ittf.com/ittf_ranking/world_ranking_per_name.asp?Player_ID=102265
No parameters and Wikidata property not defined
[edit]- Usage
{{WTT player}}
- Output
- {{WTT player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for WTT player
This template displays an external link to a table tennis player's profile at the World Table Tennis (WTT) website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID in the URL, such as 105649 in https://worldtabletennis.com/playerDescription?playerId=105649. This parameter is optional if Wikidata property P1364 exists, but required if not.
| Number | optional |
name | name 2 | 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 "(table tennis)".
| String | optional |
Tracking categories
[edit]- ID parameter exists
- Category:WTT player template with ID different from Wikidata (0)
- Category:WTT player template with ID not in Wikidata (24)
- ID parameter does not exist
See also
[edit]- {{ITTF PTT player}}