Difference between revisions of "Template:HHOF member/doc"
imported>Zyxw (→Examples: update) |
imported>Zyxw (use https, misc formatting) |
||
| Line 17: | Line 17: | ||
=== Player === | === Player === | ||
''URL:'' | ''URL:'' | ||
| − | : < | + | : <kbd>[https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901 https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|P196901}}]</kbd> |
| + | |||
''Usage:'' | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | P196901 | Sid Abel }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | P196901 | Sid Abel }}</code> | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}</code> | ||
| + | |||
''Output:'' | ''Output:'' | ||
:* {{{{BASEPAGENAME}} | P196901 | Sid Abel }} | :* {{{{BASEPAGENAME}} | P196901 | Sid Abel }} | ||
| Line 27: | Line 29: | ||
=== Builder === | === Builder === | ||
''URL:'' | ''URL:'' | ||
| − | : < | + | : <kbd>[https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=B196001 https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|B196001}}]</kbd> |
| + | |||
''Usage:'' | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | B196001 | Charles Adams }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | B196001 | Charles Adams }}</code> | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}</code> | ||
| + | |||
''Output:'' | ''Output:'' | ||
:* {{{{BASEPAGENAME}} | B196001 | Charles Adams }} | :* {{{{BASEPAGENAME}} | B196001 | Charles Adams }} | ||
| Line 37: | Line 41: | ||
=== Official === | === Official === | ||
''URL:'' | ''URL:'' | ||
| − | : < | + | : <kbd>[https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=O199101 https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|O199101}}]</kbd> |
| + | |||
''Usage:'' | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | O199101 | Neil Armstrong }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | O199101 | Neil Armstrong }}</code> | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}</code> | ||
| + | |||
''Output:'' | ''Output:'' | ||
:* {{{{BASEPAGENAME}} | O199101 | Neil Armstrong }} | :* {{{{BASEPAGENAME}} | O199101 | Neil Armstrong }} | ||
| Line 54: | Line 60: | ||
"label": "id", | "label": "id", | ||
"aliases": ["1"], | "aliases": ["1"], | ||
| − | "description": "ID portion of the URL for a Hockey Hall of Fame member. Example: P196901 is the ID portion of | + | "description": "ID portion of the URL for a Hockey Hall of Fame member. Example: P196901 is the ID portion of https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901.", |
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 78: | Line 84: | ||
== External links == | == External links == | ||
| − | * [ | + | * [https://www.hhof.com/html/legendsplayer.shtml Hall of Fame inductees: Players] at HHOF.com |
| − | * [ | + | * [https://www.hhof.com/LegendsOfHockey/jsp/LegendsMembersByName.jsp?type=Builder Hall of Fame inductees: Builders] at HHOF.com |
| − | * [ | + | * [https://www.hhof.com/LegendsOfHockey/jsp/LegendsMembersByName.jsp?type=Official Hall of Fame inductees: Officials] at HHOF.com |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 10:31, 18 September 2018
| This is a documentation subpage for Template:HHOF member. It contains usage information, categories and other content that is not part of the original template page. |
Template:HHOF member displays an external link to the biography of a Hockey Hall of Fame member. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{HHOF member | ID }}{{HHOF member | ID | NAME }}
Named parameters:
{{HHOF member | id= ID }}{{HHOF member | id= ID | name= NAME }}
Examples
Player
URL:
Usage:
* {{HHOF member | P196901 | Sid Abel }}* {{HHOF member | id= P196901 | name= Sid Abel }}
Output:
Builder
URL:
Usage:
* {{HHOF member | B196001 | Charles Adams }}* {{HHOF member | id= B196001 | name= Charles Adams }}
Output:
Official
URL:
Usage:
* {{HHOF member | O199101 | Neil Armstrong }}* {{HHOF member | id= O199101 | name= Neil Armstrong }}
Output:
TemplateData
TemplateData for HHOF member
This template displays an external link to the biography of a Hockey Hall of Fame member. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | ID portion of the URL for a Hockey Hall of Fame member. Example: P196901 is the ID portion of https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901. | String | required |
| name | name 2 | Name of the Hockey Hall of Fame member. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).
| String | optional |
See also
- {{HHOF NHL player}}
External links
- Hall of Fame inductees: Players at HHOF.com
- Hall of Fame inductees: Builders at HHOF.com
- Hall of Fame inductees: Officials at HHOF.com