Template:J.League player
{{{name}}} at J.League (in Japanese)
| This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
| This template uses 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 P3565:
{{J.League player}}{{J.League player | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
{{J.League player | 19690 | Takefusa Kubo }}
Output:
- Takefusa Kubo at J.League (in Japanese)
Named parameters
URL:
Usage:
{{J.League player | id= 1 | name= Masaaki Furukawa }}
Output:
- Masaaki Furukawa at J.League (in Japanese)
No parameters and Wikidata property not defined
Usage:
{{J.League player}}
Output:
- J.League player at J.League (in Japanese)
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
<templatedata> {
"description": "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.",
"params": {
"id": {
"label": "id",
"aliases": ["1"],
"description": "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.",
"type": "number",
"required": false,
"default": "Wikidata property P3565"
},
"name": {
"label": "name",
"aliases": ["2"],
"description": "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)\".",
"type": "string",
"required": false,
"default": "J.League player"
}
},
"paramOrder": [
"id",
"name"
]
} </templatedata>
Tracking categories
- "id" parameter exists
- Category:J.League player template with ID same as Wikidata (0)
- Category:J.League player template with ID not in Wikidata (491)
- Category:J.League player template with ID different from Wikidata (0)
- "id" parameter does not exist
- Category:J.League player template using Wikidata (0)
- Category:J.League player template missing ID and not in Wikidata (0)
| The above documentation is transcluded from Template:J.League 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. |