Template:JapanTour player/doc
This is a documentation subpage for Template:JapanTour player. It may contain usage information, categories and other content that is not part of the original template page. |
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
[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
-
- 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
[edit]- 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
[edit]- Usage
* {{JapanTour player}}
- Output
-
- {{JapanTour player}} template missing ID and not present in Wikidata.
TemplateData
[edit]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 |