Difference between revisions of "Template:ALPGTour player"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tewapack
blackwiki>Tewapack
(fix)
Line 1: Line 1:
[https://alpg.com.au/player.php?aid={{Trim|{{{1|{{{id}}}}}}}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[ALPG Tour]] official site<noinclude>
+
[https://alpg.com.au/player.php?id={{Trim|{{{1|{{{id}}}}}}}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the [[ALPG Tour]] official site<noinclude>
 
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 17:24, 19 December 2019

{{{name}}} at the ALPG Tour official site

Template documentation[view] [edit] [history] [purge]

Template:Wikidata property

Template:ALPGTour player displays an external link to a golfer's profile at alpg.com.au, the official ALPG Tour website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{ALPGTour player | ID }}
{{ALPGTour player | ID | NAME }}
Named parameters
{{ALPGTour player | id= ID }}
{{ALPGTour player | id= ID | name= NAME }}

Examples

Unnamed parameters

URL
http://alpg.com.au/player.php?id=2157
Usage
* {{ALPGTour player | 2157 | Cathryn Bristow }}
Output

Named parameters

URL
http://alpg.com.au/player.php?id=2295
Usage
* {{ALPGTour player | id= 2295 | name= Karrie Webb }}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for ALPGTour player

This template displays an external link to a golfer's profile at alpg.com.au, the official ALPG Tour website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 2157 is the ID portion of http://alpg.com.au/player.php?id=2157.

Numberrequired
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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