Template:ITF profile/doc
This is a documentation subpage for Template:ITF profile. It contains usage information, categories and other content that is not part of the original template page. |
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
<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