Jump to content

Template:KoreanTour player/doc

From Wikipedia, the free encyclopedia

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
URL
https://www.kpga.co.kr/tour/player/playerDetail/?memberId=00002379

Named parameters

[edit]
Usage
* {{KoreanTour player | id= 00004134 | name= Sanghyun PARK }}
Output
URL
https://www.kpga.co.kr/tour/player/playerDetail/?memberId=00004134

No parameters

[edit]
Usage
* {{KoreanTour player}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:KoreanTour player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P11969
Numberoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional