跳至內容

模板:J.League player

維基百科,自由的百科全書

日本職業足球聯賽中的{{{name}}} (日語)

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

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:

{{J.League player | ID }}
{{J.League player | ID | NAME }}

Named parameters:

{{J.League player | id= ID }}
{{J.League player | id= ID | name= NAME }}

Using Wikidata property 本頁不存在此屬性: 3565:

{{J.League player}}
{{J.League player | name= NAME }}

Examples[編輯]

Unnamed parameters[編輯]

URL:

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

Usage:

{{J.League player | 19690 | Takefusa Kubo }}

Output:

日本職業足球聯賽中的Takefusa Kubo (日語)

Named parameters[編輯]

URL:

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

Usage:

{{J.League player | id= 1 | name= Masaaki Furukawa }}

Output:

日本職業足球聯賽中的Masaaki Furukawa (日語)

No parameters and Wikidata property not defined[編輯]

Usage:

{{J.League player}}

Output:

{{J.League player}} template missing ID and not present in Wikidata.

TemplateData[編輯]

以下是該模板的模板資料,適用於視覺化編輯器等工具。

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.

模板參數[編輯模板資料]

參數描述類型狀態
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.

預設
Wikidata property P3565
數值非必填
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)".

預設
{{PAGENAMEBASE}}
字串非必填

Tracking categories[編輯]

template with ID
template missing ID

See also[編輯]