Difference between revisions of "Template:HHOF member/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎Examples: update)
imported>Zyxw
(use https, misc formatting)
Line 17: Line 17:
 
=== Player ===
 
=== Player ===
 
''URL:''
 
''URL:''
: <tt>[http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901 http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|P196901}}]</tt>
+
: <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:''
: <tt>[http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=B196001 http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|B196001}}]</tt>
+
: <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:''
: <tt>[http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=O199101 http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem={{hilite|O199101}}]</tt>
+
: <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 http://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901.",
+
       "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 ==
* [http://www.hhof.com/html/legendsplayer.shtml Hall of Fame inductees: Players] at HHOF.com
+
* [https://www.hhof.com/html/legendsplayer.shtml Hall of Fame inductees: Players] at HHOF.com
* [http://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=Builder Hall of Fame inductees: Builders] at HHOF.com
* [http://www.hhof.com/LegendsOfHockey/jsp/LegendsMembersByName.jsp?type=Official Hall of Fame inductees: Officials] 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

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.

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:

https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=P196901

Usage:

* {{HHOF member | P196901 | Sid Abel }}
* {{HHOF member | id= P196901 | name= Sid Abel }}

Output:

Builder

URL:

https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=B196001

Usage:

* {{HHOF member | B196001 | Charles Adams }}
* {{HHOF member | id= B196001 | name= Charles Adams }}

Output:

Official

URL:

https://www.hhof.com/LegendsOfHockey/jsp/LegendsMember.jsp?list=ByName&page=bio&mem=O199101

Usage:

* {{HHOF member | O199101 | Neil Armstrong }}
* {{HHOF member | id= O199101 | name= Neil Armstrong }}

Output:

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

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Stringrequired
namename 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).

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links