Difference between revisions of "Template:Legendsofhockey/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update categories)
imported>GZWDer
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{Wikidata property|P3567}}
 
==Usage==
 
==Usage==
 
  <nowiki>{{</nowiki>Legendsofhockey|''id''|''name''<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>Legendsofhockey|''id''|''name''<nowiki>}}</nowiki>

Revision as of 14:02, 12 February 2017

Template:Wikidata property

Usage

{{Legendsofhockey|id|name}}

where:

  • id is the numeric id found in url
  • name is the player's name
    • optional parameter. Defaults to {{PAGENAME}} if omitted.

example:

{{Legendsofhockey|21614|Sidney Crosby}}

produces: Sidney Crosby biography at Legends of HockeyScript error: No such module "EditAtWikidata".

See also

{{Legendsmember}} for NHL players inducted into the Hockey Hall of Fame