Template:J.League player/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

Template:J.League player displays an external link to an association football (soccer) player's profile at the J.League (Japan Professional Football League) data site: data.j-league.or.jp. 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:

https://data.j-league.or.jp/SFIX04/?player_id=19690

Usage:

Template:Tlcw

Output:

Takefusa Kubo at J.League (in Japanese)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Named parameters

URL:

https://data.j-league.or.jp/SFIX04/?player_id=1

Usage:

Template:Tlcw

Output:

Masaaki Furukawa at J.League (in Japanese)Script error: No such module "EditAtWikidata".Template:WikidataCheck

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

Template:PAGENAMEBASE at J.League (in Japanese)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 J.League player

This template displays an external link to an association football (soccer) player's profile at the J.League (Japan Professional Football League) data site: data.j-league.or.jp. 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: 19690 is the ID portion of https://data.j-league.or.jp/SFIX04/?player_id=19690. This parameter is optional if Wikidata property P3565 exists, but required if not.

Default
Wikidata property P3565
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 "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

template with ID
template missing ID

See also