Difference between revisions of "Template:Eliteprospects/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m (→‎TemplateData: update)
imported>Zyxw
(add links to tracking categories)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Uses Wikidata|P2481}}
 
{{Uses Wikidata|P2481}}
 
+
{{Tracks Wikidata|P2481}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[ice hockey]] player's profile at [http://www.eliteprospects.com EliteProspects.com].
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[ice hockey]] player's profile at [http://www.eliteprospects.com EliteProspects.com].
Line 66: Line 66:
 
''URL:''
 
''URL:''
 
* http://www.eliteprospects.com/player.php?player=8627&lang=en
 
* http://www.eliteprospects.com/player.php?player=8627&lang=en
 +
 +
==Tracking categories==
 +
* [[:Category:Elite Prospects player ID not in Wikidata]] ({{PAGESINCAT:Elite Prospects player ID not in Wikidata}} pages)
 +
* [[:Category:Elite Prospects player ID different from Wikidata]] ({{PAGESINCAT:Elite Prospects player ID different from Wikidata}} pages)
 +
* [[:Category:Elite Prospects player ID same as Wikidata]] ({{PAGESINCAT:Elite Prospects player ID same as Wikidata}} pages)
 +
* [[:Category:Eliteprospects template with no id set]] (exists in template, not created)
  
 
== See also ==
 
== See also ==
Line 83: Line 89:
 
** {{tl|Legendsofhockey}}
 
** {{tl|Legendsofhockey}}
 
** {{tl|TSN-NHL profile}}
 
** {{tl|TSN-NHL profile}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
 
<!-- Categories go here and interwikis go in Wikidata. -->
+
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Ice hockey external link templates]]
 
[[Category:Ice hockey external link templates]]
 
[[Category:WikiProject Ice Hockey templates]]
 
[[Category:WikiProject Ice Hockey templates]]
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]
 +
[[Category:Templates that add a tracking category]]
 +
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:34, 20 October 2016

Template:Uses Wikidata Template:Tracks Wikidata

Template:Eliteprospects displays an external link to an ice hockey player's profile at EliteProspects.com.

Usage

No parameters
(Uses ID from Wikidata, and page name)
{{Eliteprospects}}
Unnamed parameters
{{Eliteprospects|ID|NAME}}
{{Eliteprospects|ID}}
Named parameters
{{Eliteprospects|id=ID|name=NAME}}
{{Eliteprospects|id=ID}}

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 Eliteprospects

This template displays an external link to an ice hockey player's profile at EliteProspects.com.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

Player's ID number in the URL. Example: 2092 is the ID in http://www.eliteprospects.com/player.php?player=2092&lang=en

Default
Numberoptional
Name2 name title

Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).

Default
{{PAGENAME}}
Stringoptional

Examples

Unnamed parameters

Usage:

  • {{Eliteprospects | 2092 | Tomi Kallio }}

Output:

URL:

Named parameters

name

Usage:

  • {{Eliteprospects |id= 9678 |name= Wayne Gretzky }}

Output:

URL:

title

Usage:

  • {{Eliteprospects |id= 8627 |title= Jaromír Jágr }}

Output:

URL:

Tracking categories

See also

Ice hockey player external link templates: