Template:JapanTour player
{{{name}}} at the Japan Golf Tour official site
This template uses Lua: |
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
- 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
Unnamed parameters
- Usage
* {{JapanTour player | 2164 | Kenichi Kuboya }}
- Output
-
- Kenichi Kuboya at the Japan Golf Tour official site
- 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
- Usage
* {{JapanTour player | id= 2291 | name= Katsumune Imai }}
- Output
-
- Katsumune Imai at the Japan Golf Tour official site
- 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
- Usage
* {{JapanTour player}}
- Output
-
- {{JapanTour player}} template missing ID and not present in Wikidata.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| 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 |