Difference between revisions of "Template:Legendsmember/doc"
Jump to navigation
Jump to search
imported>Zyxw (→Examples: update) |
imported>Zyxw (→Examples: update) |
||
| Line 15: | Line 15: | ||
==Examples== | ==Examples== | ||
| − | + | ||
| + | === Player === | ||
| + | ''URL:'' | ||
| + | : <tt>[http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type=Player&mem=P196901&list=ByName#photo http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type={{hilite|Player}}&mem={{hilite|P196901}}&list=ByName#photo]</tt> | ||
| + | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Player|P196901|Sid Abel}}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Player|P196901|Sid Abel}}</code> | ||
| − | : | + | ''Output:'' |
:* {{{{BASEPAGENAME}}|Player|P196901|Sid Abel}} | :* {{{{BASEPAGENAME}}|Player|P196901|Sid Abel}} | ||
| − | + | === Builder === | |
| + | ''URL:'' | ||
| + | : <tt>[http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type=Builder&mem=B196001&list=ByName#photo http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type={{hilite|Builder}}&mem={{hilite|B196001}}&list=ByName#photo]</tt> | ||
| + | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Builder|B196001|Charles Adams}}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Builder|B196001|Charles Adams}}</code> | ||
| − | : | + | ''Output:'' |
:* {{{{BASEPAGENAME}}|Builder|B196001|Charles Adams}} | :* {{{{BASEPAGENAME}}|Builder|B196001|Charles Adams}} | ||
| − | + | === Official === | |
| + | ''URL:'' | ||
| + | : <tt>[http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type=Official&mem=O199101&list=ByName#photo http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type={{hilite|Official}}&mem={{hilite|O199101}}&list=ByName#photo]</tt> | ||
| + | ''Usage:'' | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Official|O199101|Neil Armstrong}}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|Official|O199101|Neil Armstrong}}</code> | ||
| − | : | + | ''Output:'' |
:* {{{{BASEPAGENAME}}|Official|O199101|Neil Armstrong}} | :* {{{{BASEPAGENAME}}|Official|O199101|Neil Armstrong}} | ||
Revision as of 18:04, 22 May 2018
| This is a documentation subpage for Template:Legendsmember. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is meant to be used only for people inducted into the Hockey Hall of Fame.
{{Legendsmember|type|mem|name}}
where:
type- is the type of member...the only valid entries are Player, Builder or Official
mem- is the letter P, B, or O, and the numeric id found in the URL
- For Sid Abel, the full URL is
http://www.legendsofhockey.net/LegendsOfHockey/jsp/LegendsMember.jsp?type=Player&mem=P196901&list=ByName#photo - therefore, use "P196901" which follows "mem=" and before the "&list=ByName#photo" parameter
name- is the person's undisambiguated name (by default, the article title is used)
Examples
Player
URL:
Usage:
* {{Legendsmember|Player|P196901|Sid Abel}}
Output:
Builder
URL:
Usage:
* {{Legendsmember|Builder|B196001|Charles Adams}}
Output:
Official
URL:
Usage:
* {{Legendsmember|Official|O199101|Neil Armstrong}}
Output:
See also
- {{Legendsofhockey}} for NHL players that are not inducted members