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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(use https, misc formatting)
imported>Djsasso
(Redirected page to Template:Legendsmember/doc)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT[[Template:Legendsmember/doc]]
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
 
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to the biography of a [[Hockey Hall of Fame]] member. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
 
 
 
== Usage ==
 
Unnamed parameters:
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code>
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code>
 
 
 
Named parameters:
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code>
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code>
 
 
 
== Examples ==
 
 
 
=== Player ===
 
''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:''
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | P196901 | Sid Abel }}</code>
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}</code>
 
 
 
''Output:''
 
:* {{{{BASEPAGENAME}} | P196901 | Sid Abel }}
 
:* {{{{BASEPAGENAME}} | id= P196901 | name= Sid Abel }}
 
 
 
=== Builder ===
 
''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:''
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | B196001 | Charles Adams }}</code>
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}</code>
 
 
 
''Output:''
 
:* {{{{BASEPAGENAME}} | B196001 | Charles Adams }}
 
:* {{{{BASEPAGENAME}} | id= B196001 | name= Charles Adams }}
 
 
 
=== Official ===
 
''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:''
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | O199101 | Neil Armstrong }}</code>
 
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}</code>
 
 
 
''Output:''
 
:* {{{{BASEPAGENAME}} | O199101 | Neil Armstrong }}
 
:* {{{{BASEPAGENAME}} | id= O199101 | name= Neil Armstrong }}
 
 
 
== TemplateData ==
 
{{TemplateData header}}
 
<templatedata>
 
{
 
  "description": "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.",
 
  "params": {
 
    "id": {
 
      "label": "id",
 
      "aliases": ["1"],
 
      "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",
 
      "required": true
 
    },
 
    "name": {
 
      "label": "name",
 
      "aliases": ["2"],
 
      "description": "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).",
 
      "type": "string",
 
      "required": false,
 
      "default": "{{PAGENAMEBASE}}"
 
    }
 
  },
 
  "paramOrder": [
 
    "id",
 
    "name"
 
  ]
 
}
 
</templatedata>
 
 
 
== See also ==
 
* {{tl|HHOF NHL player}}
 
 
 
== 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||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:People and person external link templates]]
 
[[Category:Ice hockey external link templates]]
 
}}</includeonly>
 

Latest revision as of 17:25, 14 May 2019