Jump to content

Template:Eurobasket.com player/doc

From Wikipedia, the free encyclopedia

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

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Eurobasket.com player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P3527
Example
108040
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Example
Laura Nicholls
Stringoptional
[edit]