Template:FIBA profile/doc
![]() | This is a documentation subpage for Template:FIBA profile. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
FIBA player ID (P3542) (see uses)
![]() | This template uses Lua: |
Template:FIBA profile displays an external link to an basketball player's profile at the website of FIBA, the International Basketball Federation (Fédération internationale de basket-ball). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{FIBA profile | ID }}
{{FIBA profile | ID | NAME }}
- Named parameters
{{FIBA profile | id= ID }}
{{FIBA profile | id= ID | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{FIBA profile | 69695 | Emma Meesseman }}
- Output
- URLs
-
- https://archive.fiba.com/pages/eng/fa/p/rpp//q//pid/69695/_//players.html
- https://archive.fiba.com/pages/eng/fa/p/rpp//q/Emma%20MEESSEMAN/pid/69695/_//players.html
- http://www.fiba.com/pages/eng/fc/gamecent/p/pid/69695/playerview.html (archive)
- In this instance, the old URL contained the same ID number as the new URL.
Named parameters
[edit]- Usage
* {{FIBA profile | id= 71586 | name= Marko Todorović }}
- Output
- URLs
-
- https://archive.fiba.com/pages/eng/fa/p/rpp//q//pid/71586/_//players.html
- https://archive.fiba.com/pages/eng/fa/p/rpp//q/Marko%20TODOROVIC/pid/71586/_//players.html
- http://www.fiba.com/pages/eng/fc/gamecent/p/pid/6042456/playerview.html (archive)
- In this instance, the old URL had a different ID number (which does not work with the new URL).
No parameters and Wikidata property not defined
[edit]- Usage
* {{FIBA profile}}
- Output
-
- {{FIBA profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for FIBA profile
This template displays an external link to an basketball player's profile at the website of FIBA, the International Basketball Federation (Fédération internationale de basket-ball). 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: 69695 is the ID portion of https://archive.fiba.com/pages/eng/fa/p/rpp//q//pid/69695/_//players.html or https://archive.fiba.com/pages/eng/fa/p/rpp//q/Emma%20MEESSEMAN/pid/69695/_//players.html. This parameter is optional if Wikidata property P3542 exists, but required if not.
| Number | 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 basketball player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(basketball)".
| String | optional |
External links
[edit]