Template:K League player/doc
![]() | 此頁面是Template:K League player的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
![]() | 此Template文档被引用於許多頁面。 為了避免造成大規模的影響,所有對此Template文档的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |

![]() | 此模板使用Lua语言: |
Template:K League player displays an external link to an association football (soccer) player's profile at the official website of K League (Korea Professional Football League). It is intended for use in the external links section of an article.
By default, the linked page will be displayed in Korean. This may be changed at the kleague.com main page by clicking on the KR ▽ in the upper right corner and clicking the EN instead of KR. It will set up an HTTP cookie change causing all subsequently viewed pages to be displayed in English.
Usage
[编辑]- Unnamed parameters
{{K League player | ID }}
{{K League player | ID | NAME }}
- Named parameters
{{K League player | id= ID }}
{{K League player | id= ID | name= NAME }}
- Using Wikidata property
{{K League player}}
{{K League player | name= NAME }}
Examples
[编辑]Unnamed parameters
[编辑]Example for Kim Shin-wook (김신욱, born 14 April 1988).
- Usage
* {{K League player | 20090020 | Kim Shin-wook }}
- Output
-
- Kim Shin-wook在 kleague.com上的出场纪录(韓語)
- Former URL
- http://www.kleague.com/en/content/playersearch?playercode=20090020 (archive)
Named parameters
[编辑]Example for Cho Young-wook (조영욱, born 5 February 1999).
- Usage
* {{K League player | id= 20180073 | name= Cho Young-wook }}
- Output
-
- Cho Young-wook在 kleague.com上的出场纪录(韓語)
- Former URL
- http://www.kleague.com/en/content/playersearch?playercode=20180073 (archive)
No parameters and Wikidata property not defined
[编辑]- Usage
* {{K League player}}
- Output
-
- {{K 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 official website of K League (Korea Professional Football League). It is intended for use in the external links section of an article. By default, the linked page will be displayed in Korean. This may be changed at the kleague.com main page by clicking on the 'KR ▽' in the upper right corner and clicking the 'EN' instead of 'KR'. It will set up an HTTP cookie change causing all subsequently viewed pages to be displayed in English.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL for the player, such as 20090020 in https://www.kleague.com/record/playerDetail.do?playerId=20090020. This parameter is optional if Wikidata property P3053 exists, but required if not.
| 数字 | 可选 |
Name | name 2 | 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:K League player ID different from Wikidata(0)
- Category:K League player ID not in Wikidata(0)
- template missing ID