Template:KHL profile

From blackwiki
Jump to navigation Jump to search

{{{name}}} profile and statistics at KHL.ru

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:KHL profile displays an external link to an ice hockey player's official Kontinental Hockey League (KHL) profile and statistics page. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{KHL profile | ID }}
{{KHL profile | ID | NAME }}

Named parameters:

{{KHL profile | id= ID }}
{{KHL profile | id= ID | name= NAME }}

Using Wikidata property P3652:

{{KHL profile}}
{{KHL profile | name= NAME }}

Examples

Unnamed parameters

URL:

http://en.khl.ru/players/3950/

Usage:

* {{KHL profile | 3950 | Anton Babchuk }}

Output:

Named parameters

URL:

http://en.khl.ru/players/13851/

Usage:

* {{KHL profile | id= 13851 | name= Jaromir Jagr }}

Output:

No parameters and Wikidata property not defined

Usage:

* {{KHL profile}}

Output:

Tracking categories

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for KHL profile

This template displays an external link to an ice hockey player's official Kontinental Hockey League (KHL) profile and statistics page. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

ID number found in URL of the player's official KHL page. Example: 3950 for URL http://en.khl.ru/players/3950/. This parameter is optional if Wikidata property P3652 exists, but required if not.

Default
Wikidata property P3652
Numberoptional
namename 2

Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).

Default
{{PAGENAMEBASE}}
Stringoptional

See also

Ice hockey player external link templates: