Difference between revisions of "Template:Eurohockey"
imported>Pigsonthewing (+) |
imported>Djsasso |
||
| Line 8: | Line 8: | ||
{{Uses Wikidata|P2601}} | {{Uses Wikidata|P2601}} | ||
{{Cs1 wrapper|base=Cite web}} | {{Cs1 wrapper|base=Cite web}} | ||
| − | {{ | + | {{documentation}} |
</noinclude> | </noinclude> | ||
Revision as of 14:53, 21 September 2016
template with no id set%5d%5d}}.html "[[:Template:PAGENAMEBASE]] profile" Check |url= value (help). Eurohockey.com. URL–wikilink conflict (help)
| This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Template:Eurohockey displays an external link to an ice hockey player's profile at Eurohockey.com. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{Eurohockey | ID }}{{Eurohockey | ID | NAME }}
Named parameters:
{{Eurohockey | id= ID }}{{Eurohockey | id= ID | name= NAME }}
Using Wikidata property P2601:
{{Eurohockey}}{{Eurohockey | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
* {{Eurohockey | 8470-teemu-selnne | Teemu Selänne }}* {{Eurohockey | 8470 | Teemu Selänne }}
Output:
- 8470-teemu-selnne .html "Teemu Selänne profile" Check
|url=value (help). Eurohockey.com. - 8470 .html "Teemu Selänne profile" Check
|url=value (help). Eurohockey.com.
- 8470-teemu-selnne .html "Teemu Selänne profile" Check
Named parameters
URL:
Usage:
* {{Eurohockey | id= 10689-jaromir-jagr | name= Jaromír Jágr }}* {{Eurohockey | id= 10689 | name= Jaromír Jágr }}
Output:
- "[[:Template:PAGENAMEBASE]] profile". Eurohockey.com. URL–wikilink conflict (help)
- "[[:Template:PAGENAMEBASE]] profile". Eurohockey.com. URL–wikilink conflict (help)
No parameters and Wikidata property not defined
Usage:
* {{Eurohockey}}
Output:
- template with no id set%5d%5d}}.html "[[:Template:PAGENAMEBASE]] profile" Check
|url=value (help). Eurohockey.com. URL–wikilink conflict (help)
- template with no id set%5d%5d}}.html "[[:Template:PAGENAMEBASE]] profile" Check
TemplateData
TemplateData for Eurohockey
This template displays an external link to an ice hockey player's profile at Eurohockey.com. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 8470-teemu-selnne is the ID portion of http://www.eurohockey.com/player/8470-teemu-selnne.html. This parameter is optional if Wikidata property P2601 exists, but required if not.
| String | optional |
| name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(ice hockey)".
| String | optional |
Tracking categories
- "id" parameter exists
- Category:Eurohockey template with ID same as Wikidata (0)
- Category:Eurohockey template with ID different from Wikidata (0)
- Category:Eurohockey template with ID not in Wikidata (0)
- "id" parameter does not exist
- Category:Eurohockey template using Wikidata (0)
- Category:Eurohockey template missing ID and not in Wikidata (0)
See also
- {{Ice hockey stats}}
| The above documentation is transcluded from Template:Eurohockey/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |