Jump to content

Template:JLPGA player/doc

From Wikipedia, the free encyclopedia

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
URL
https://www.lpga.or.jp/en/members/info/1000639

Named parameters

[edit]
Usage
* {{JLPGA player | id= 1000921 | name= Jiyai Shin }}
Output
URL
https://www.lpga.or.jp/en/members/info/1000921

No parameters and Wikidata property not defined

[edit]
Usage
* {{JLPGA player}}
Output
  • {{WWGR}} template missing ID and not present in Wikidata.

TemplateData

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

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.

Template parameters

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

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