Template:WTT player/doc

From Wikipedia, the free encyclopedia

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
Current URL
https://worldtabletennis.com/playerDescription?playerId=105649
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
Current URL
https://worldtabletennis.com/playerDescription?playerId=102265
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]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WTT player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P1364
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

ID parameter exists
ID parameter does not exist

See also[edit]

External links[edit]