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

From blackwiki
Jump to navigation Jump to search
imported>Djsasso
imported>Zyxw
(→‎Examples: update)
Line 19: Line 19:
 
: <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>
 
: <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>
 
''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 }}
: {{{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}
+
:* {{{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}
  
 
=== Builder ===
 
=== Builder ===
Line 29: Line 29:
 
: <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>
 
: <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>
 
''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 }}
: {{{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}
+
:* {{{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}
  
 
=== Official ===
 
=== Official ===
Line 39: Line 39:
 
: <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>
 
: <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>
 
''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 }}
: {{{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}
+
:* {{{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}
  
 
== TemplateData ==
 
== TemplateData ==

Revision as of 17:43, 22 May 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:

http://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:

http://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:

http://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 http://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