Difference between revisions of "Template:Bandysidan player"
imported>Zyxw m (update tracking) |
imported>Monkbot |
||
Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P4831}} | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P4831}} | ||
− | | [http://www.bandysidan.nu/player.php?SpelareID={{Trim|{{{1|{{{id<includeonly>|{{#property:P4831}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at Bandysidan.nu {{sv | + | | [http://www.bandysidan.nu/player.php?SpelareID={{Trim|{{{1|{{{id<includeonly>|{{#property:P4831}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at Bandysidan.nu {{in lang|sv}}<includeonly>{{EditAtWikidata|pid=P4831|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P4831|value={{{1|{{{id|}}}}}}|category=Bandysidan player ID|namespaces=0|nocatsame=1}} |
| <span class="error">{{[[Template:Bandysidan player|Bandysidan player]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Bandysidan player template missing ID and not in Wikidata]]}} | | <span class="error">{{[[Template:Bandysidan player|Bandysidan player]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Bandysidan player template missing ID and not in Wikidata]]}} |
Latest revision as of 19:30, 29 December 2019
{{{name}}} at Bandysidan.nu (in Swedish)Template:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Stefan Erixon at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
URL:
Usage:
Output:
- Hans Johansson at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData 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
- template with ID
- Category:Bandysidan player ID different from Wikidata (0)
- Category:Bandysidan player ID not in Wikidata (0)
- template missing ID
See also
The above documentation is transcluded from Template:Bandysidan player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |