Template:Eurobasket.com player
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:Eurobasket.com player displays an external link to a basketball player's profile at Eurobasket.com. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Eurobasket.com player | ID }}
{{Eurobasket.com player | ID | NAME }}
- Named parameters
{{Eurobasket.com player | id= ID }}
{{Eurobasket.com player | id= ID | name= NAME }}
- Using Wikidata property
{{Eurobasket.com player}}
{{Eurobasket.com player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Eurobasket.com player | 108040 | Laura Nicholls }}
- Output
- URLs
- https://www.eurobasket.com/player.asp?PlayerID=108040 (redirects to URL below)
- https://basketball.eurobasket.com/player/Laura-Nicholls/108040?Women=1
Named parameters
[edit]- Usage
* {{Eurobasket.com player | id= 14007 | name= Viktor Khryapa }}
- Output
- URLs
- https://www.eurobasket.com/player.asp?PlayerID=14007 (redirects to URL below)
- https://basketball.eurobasket.com/player/Viktor-Khryapa/14007
No parameters and Wikidata property not defined
[edit]- Usage
* {{Eurobasket.com player}}
- Output
-
- {{Eurobasket.com player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Eurobasket.com player
This template displays an external link to a basketball player's profile at Eurobasket.com. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number a URL such as https://www.eurobasket.com/player.asp?PlayerID=108040 or https://basketball.eurobasket.com/player/Laura-Nicholls/108040. This parameter is optional if Wikidata property P3527 exists, but required if not.
| Number | optional |
name | name 2 | 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 "(basketball)".
| String | optional |