Šablon:NHL igrač/dok
Ovo je dokumentaciona podstranica za Šablon:NHL igrač. Sadrži informacije o korišćenju, kategorijama i drugom sadržaju koji nije deo originalne stranice. |
Ovaj šablon koristi Lua modul: |
Šablon:NHL igrač displays an external link to an ice hockey player's official National Hockey League (NHL) profile and statistics page. It is intended for use in the external links section of an article.
Usage
[uredi izvor]Unnamed parameters:
{{НХЛ играч | ID }}
{{НХЛ играч | ID | NAME }}
Named parameters:
{{НХЛ играч | id= ID }}
{{НХЛ играч | id= ID | name= NAME }}
Using Wikidata property P3522:
{{НХЛ играч}}
{{НХЛ играч | name= NAME }}
Examples
[uredi izvor]Unnamed parameters
[uredi izvor]URLs:
- http://www.nhl.com/ice/player.htm?id=8448974
- https://www.nhl.com/player/eddie-shack-8448974
- https://www.nhl.com/player/8448974
Usage:
{{НХЛ играч | 8448974 | Eddie Shack }}
Output:
- Eddie Shack na sajtu NHL.com (jezik: engleski)
Named parameters
[uredi izvor]URLs:
- http://www.nhl.com/ice/player.htm?id=8471675
- https://www.nhl.com/player/sidney-crosby-8471675
- https://www.nhl.com/player/8471675
Usage:
{{НХЛ играч | id= 8471675 | name= Sidney Crosby }}
Output:
- Sidney Crosby na sajtu NHL.com (jezik: engleski)
No parameters and Wikidata property not defined
[uredi izvor]Usage:
{{НХЛ играч}}
Output:
- {{Šablon:NHL igrač}} nema unesen ID niti je isti pronađen na Vikipodacima.
TemplateData
[uredi izvor]TemplateData za NHL igrač
This template displays an external link to an ice hockey player's official National Hockey League (NHL) profile and statistics page. It is intended for use in the external links section of an article.
Parametar | Opis | Vrsta | Status | |
---|---|---|---|---|
Player ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL for the player's profile. Example: 8448974 is the ID portion of http://www.nhl.com/ice/player.htm?id=8448974 or https://www.nhl.com/player/eddie-shack-8448974. This parameter is optional if Wikidata property P3522 exists, but required if not.
| broj | neobavezno |
Player 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)".
| tekst | neobavezno |
See also
[uredi izvor]Ice hockey player external link templates:
- {{Ice hockey stats}}
- Official league websites:
- {{AHL profile}}
- {{ECHL profile}}
- {{EIHL profile}}
- {{KHL profile}}
- {{OHL profile}}
- Other websites:
- {{Eliteprospects}}
- {{Eurohockey}}
- {{HockeyDB}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}
External links
[uredi izvor]