Template:ITF profile/doc

< Template:ITF profile

Template:ITF profile displays an external link to a professional tennis player's profile at the International Tennis Federation (ITF) website.

Usage

Unnamed parameters:

  • {{ITF profile|ID}}
  • {{ITF profile|ID|NAME}}

Named parameters:

  • {{ITF profile|id=ID}}
  • {{ITF profile|id=ID|name=NAME}}

TemplateData

This is the TemplateData documentation for the template used by the new VisualEditor.

ITF profile

<templatedata>{ "description": "This template displays an external link to a professional tennis player's profile at the International Tennis Federation (ITF) website.", "params": {

 "1": {
   "label": "ID",
   "aliases": ["id","number"], 
   "description": "Player's ID number in the URL. Example: 10019424 is the ID in http://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=10019424",
   "type": "string",
   "default": "",
   "required": true
 },
 "2": {
   "label": "Name",
   "aliases": ["name"], 
   "description": "Name of tennis player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (tennis).",
   "type": "string",
   "default": "ITF profile/doc",
   "required": false
 }

}}</templatedata>

Examples

Unnamed parameters

Usage:

  • {{ITF profile | 10019424 | Roger Federer }}

Output:

URL:

Named parameters

id

Usage:

  • {{ITF profile |id= 20003282 |name= Steffi Graf }}

Output:

URL:

number

Usage:

  • {{ITF profile |number= 100013223 |name= Maria Sharapova }}

Output:

URL:

See also