Template:KHL profile

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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

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

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[edit]

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[edit]

Unnamed parameters[edit]

URL:

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

Usage:

{{KHL profile | 3950 | Anton Babchuk }}

Output:

Anton Babchuk profile and statistics at KHL.ru

Named parameters[edit]

URL:

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

Usage:

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

Output:

Jaromir Jagr profile and statistics at KHL.ru

No parameters and Wikidata property not defined[edit]

Usage:

{{KHL profile}}

Output:

{{KHL profile}} template missing ID and not present in Wikidata.

Tracking categories[edit]

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error 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

Parameter Description Type Status
id id1

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
Example
empty
Auto value
empty
Number optional
name name2

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

Default
{{PAGENAMEBASE}}
Example
empty
Auto value
empty
String optional

See also[edit]

Ice hockey player external link templates: