![]() | This is a documentation subpage for Template:Bandysidan player. 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)
![]() | This template uses Lua: |
Template:Bandysidan player displays an external link to a bandy player's profile at the Bandysidan.nu website. It is intended for use in the external links section of an article.
Usage
editUnnamed parameters:
{{Bandysidan player | ID }}
{{Bandysidan player | ID | NAME }}
Named parameters:
{{Bandysidan player | id= ID }}
{{Bandysidan player | id= ID | name= NAME }}
Using Wikidata property Bandysidan player ID (P4831):
{{Bandysidan player}}
{{Bandysidan player | name= NAME }}
Examples
editUnnamed parameters
editURL:
Usage:
{{Bandysidan player | 76 | Stefan Erixon }}
Output:
- Stefan Erixon at Bandysidan.nu (in Swedish)
Named parameters
editURL:
Usage:
{{Bandysidan player | id= 1679 | name= Hans Johansson }}
Output:
- Hans Johansson at Bandysidan.nu (in Swedish)
No parameters and Wikidata property not defined
editUsage:
{{Bandysidan player}}
Output:
- {{Bandysidan player}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for Bandysidan player
This template displays an external link to a bandy player's profile at the Bandysidan.nu website. 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: 76 is the ID portion of http://www.bandysidan.nu/player.php?SpelareID=76. This parameter is optional if Wikidata property P4831 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 player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(bandy)".
| String | optional |
Tracking categories
edit- template with ID
- Category:Bandysidan player ID different from Wikidata (0)
- Category:Bandysidan player ID not in Wikidata (0)
- template missing ID
See also
edit