Difference between revisions of "Template:Bandysidan player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎See also: add link)
imported>Colonies Chris
m (→‎Tracking categories: minor fixes, replaced: {{clc| → {{Category link with count| (3))
Line 82: Line 82:
 
== Tracking categories ==
 
== Tracking categories ==
 
; ID parameter exists
 
; ID parameter exists
* {{clc|Bandysidan player ID different from Wikidata}}
+
* {{Category link with count|Bandysidan player ID different from Wikidata}}
* {{clc|Bandysidan player ID not in Wikidata}}
+
* {{Category link with count|Bandysidan player ID not in Wikidata}}
 
; ID parameter does not exist
 
; ID parameter does not exist
* {{clc|Bandysidan player template missing ID and not in Wikidata}}
+
* {{Category link with count|Bandysidan player template missing ID and not in Wikidata}}
  
 
== See also ==
 
== See also ==

Revision as of 15:54, 14 May 2019

Template:Uses Wikidata Template:Tracks Wikidata

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

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

http://www.bandysidan.nu/player.php?SpelareID=76

Usage:

Template:Tlcw

Output:

Stefan Erixon at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Named parameters

URL:

http://www.bandysidan.nu/player.php?SpelareID=1679

Usage:

Template:Tlcw

Output:

Hans Johansson at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

Template:PAGENAMEBASE at Bandysidan.nu (in Swedish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

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

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also