Template:JLPGA player
{{{name}}} at the LPGA of Japan Tour official site
This template uses Lua: |
Template:JLPGA player displays an external link to a golfer's profile at lpga.or.jp, the official LPGA of Japan Tour website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{JLPGA player | ID }}
{{JLPGA player | ID | NAME }}
- Named parameters
{{JLPGA player | id= ID }}
{{JLPGA player | id= ID | name= NAME }}
- Using Wikidata property LPGA of Japan Tour player ID (P12108)
{{JLPGA player}}
{{JLPGA player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{JLPGA player | 1000639 | Sakura Yokomine }}
- Output
-
- Sakura Yokomine at the LPGA of Japan Tour official site
Named parameters
[edit]- Usage
* {{JLPGA player | id= 1000921 | name= Jiyai Shin }}
- Output
-
- Jiyai Shin at the LPGA of Japan Tour official site
No parameters and Wikidata property not defined
[edit]- Usage
* {{JLPGA player}}
- Output
-
- {{WWGR}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for JLPGA player
This template displays an external link to a golfer's profile at lpga.or.jp, the official LPGA of Japan 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 1000639 in https://www.lpga.or.jp/en/members/info/1000639. This parameter is optional if Wikidata property P12108 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 |