Template:JapanTour player displays an external link to a golfer's profile at jgto.org/en, the English language version of the official Japan Golf Tour website. It is intended for use in the external links section of an article.

Usage edit

Unnamed parameters
{{JapanTour player | ID }}
{{JapanTour player | ID | NAME }}
Named parameters
{{JapanTour player | id= ID }}
{{JapanTour player | id= ID | name= NAME }}
Using Wikidata property Japan Golf Tour player ID (P3535)
{{JapanTour player}}
{{JapanTour player | name= NAME }}

Examples edit

Unnamed parameters edit

Usage
* {{JapanTour player | 2164 | Kenichi Kuboya }}
Output
Current URLs (since December 2021)
https://www.jgto.org/en/player/2164/profile (in English)
https://www.jgto.org/player/2164/profile (in Japanese)
Former URLs (until December 2021)
https://www.jgto.org/pc/PlayerProfileEng.do?playerTourKbn=0&playerCd=2164 (archived) (in English)
https://www.jgto.org/pc/PlayerProfile.do?playerTourKbn=0&playerCd=2164 (archived) (in Japanese)
Former URL (until October 2018)
http://jgto.org/jgto/WG05020200Profile.do?playerTourKbn=0&playerCd=2164 (archived) (in English)

Named parameters edit

Usage
* {{JapanTour player | id= 2291 | name= Katsumune Imai }}
Output
Current URLs (since December 2021)
https://www.jgto.org/en/player/2291/profile (in English)
https://www.jgto.org/player/2291/profile (in Japanese)
Former URLs (until December 2021)
https://www.jgto.org/pc/PlayerProfileEng.do?playerCd=2291&playerTourKbn=0 (archived) (in English)
https://www.jgto.org/pc/PlayerProfile.do?playerCd=2291&playerTourKbn= (archived) (in Japanese)
Former URL (until October 2018)
http://www.jgto.org/pc/WG05020200Profile.do?playerCd=2291 (archived) (in English)

No parameters and Wikidata property not defined edit

Usage
* {{JapanTour 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:JapanTour player in articles based on its TemplateData.

TemplateData for JapanTour player

This template displays an external link to a golfer's profile at jgto.org/en, the English language version of the official Japan Golf Tour website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 2038 in https://www.jgto.org/en/player/2038/profile. This parameter is optional if Wikidata property P3535 exists, but required if not.

Default
Wikidata property P3535
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