Template:KoreanTour player/doc
![]() | This is a documentation subpage for Template:KoreanTour player. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:KoreanTour player displays an external link to a golfer's profile at kpga.co.kr, the official Korean Tour website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{KoreanTour player | ID }}
{{KoreanTour player | ID | NAME }}
- Named parameters
{{KoreanTour player | id= ID }}
{{KoreanTour player | id= ID | name= NAME }}
- Using Wikidata property Korean Tour player ID (P11969)
{{KoreanTour player}}
{{KoreanTour player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{KoreanTour player | 00002379 | Inchoon HWANG }}
- Output
-
- Inchoon HWANG at the Korean Tour official site (in Korean)
Named parameters
[edit]- Usage
* {{KoreanTour player | id= 00004134 | name= Sanghyun PARK }}
- Output
-
- Sanghyun PARK at the Korean Tour official site (in Korean)
No parameters
[edit]- Usage
* {{KoreanTour player}}
- Output
-
- {{KoreanTour player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for KoreanTour player
This template displays an external link to a golfer's profile at kpga.co.kr, the official Korean Tour website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as 00002379 in https://www.kpga.co.kr/tour/player/playerDetail/?memberId?mm_code=00002379. This parameter is optional if Wikidata property P11969 exists, but required if not.
| Number | optional |
Name | name 2 | The link text, which should be the name of the golfer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(golfer)".
| String | optional |