Difference between revisions of "Template:KHL profile"
(add link to English language profile, keep Russian language link (shows player name in Cyrillic script), trim whitespace from ID# used in URL, remove disambiguation if using {{PAGENAME}} as player name, add documentation) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:07, 22 March 2014
{{{name}}}'s profile and statistics (also in Russian) at KHL.ru
Template:KHL profile displays an external link to an ice hockey player's official KHL profile and statistics page.
Contents
Usage
Unnamed parameters:
{{KHL profile|ID|NAME}}
{{KHL profile|ID}}
Named parameters:
{{KHL profile|id=ID|name=NAME}}
{{KHL profile|id=ID}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
KHL profile
<templatedata>{ "description": "This template displays an external link to an ice hockey player's official KHL (Kontinental Hockey League) profile and statistics page.", "params": {
"1": { "label": "ID", "aliases": ["id"], "description": "ID number found in URL of the player's official KHL page. Example: 13851 for http://en.khl.ru/players/13851/ and http://www.khl.ru/players/13851/", "type": "number", "default": "", "required": true }, "2": { "label": "Name", "aliases": ["name"], "description": "Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).", "type": "string", "default": "KHL profile", "required": false }
}}</templatedata>
Examples
Unnamed parameters:
- Usage:
{{KHL profile | 13851 | Jaromir Jagr}}
- Result: Jaromir Jagr's profile and statistics (also in Russian) at KHL.ru
- Usage:
{{KHL profile|13851}}
- Result: KHL profile's profile and statistics (also in Russian) at KHL.ru
Named parameters:
- Usage:
{{KHL profile |id= 13851 |name= Jaromir Jagr}}
- Result: Jaromir Jagr's profile and statistics (also in Russian) at KHL.ru
- Usage:
{{KHL profile|id=13851}}
- Result: KHL profile's profile and statistics (also in Russian) at KHL.ru
See also
Ice hockey player external link templates:
- Official league websites:
- {{AHL profile}}
- {{ECHL profile}}
- {{EIHL profile}}
- {{NHL profile}}
- Other websites:
- {{Eliteprospects}}
- {{Eurohockey}}
- {{Hockeydb}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}
The above documentation is transcluded from Template:KHL profile/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |