Difference between revisions of "Template:Legendsofhockey/doc"

From blackwiki
Jump to navigation Jump to search
imported>Thetrick
(Added Template:Documentation subpage)
imported>MrDolomite
m (add note about name being optional parameter and defaulting to {{PAGENAME}} if omitted)
Line 6: Line 6:
 
*<code>''id''</code> is the numeric id found in url
 
*<code>''id''</code> is the numeric id found in url
 
*<code>''name''</code> is the player's name
 
*<code>''name''</code> is the player's name
 +
**optional parameter. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code> if omittted.
  
 
example:
 
example:

Revision as of 01:39, 11 August 2008

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 omittted.

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