模板:J.League player
日本职业足球联赛中的{{{name}}} (日语)
此模板使用Lua语言: |
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:
Usage:
{{J.League player | 19690 | Takefusa Kubo }}
Output:
- 日本职业足球联赛中的Takefusa Kubo (日语)
Named parameters
[编辑]URL:
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
[编辑]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.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
id | id 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.
| 数字 | 可选 |
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 "(footballer)" or "(soccer)".
| 字符串 | 可选 |
Tracking categories
[编辑]- template with ID
- Category:J.League player template with ID different from Wikidata(0)
- Category:J.League player template with ID not in Wikidata(0)
- template missing ID