Difference between revisions of "Template:ALPGTour player"
blackwiki>Tewapack |
blackwiki>Tewapack (fix) |
||
| Line 1: | Line 1: | ||
| − | [https://alpg.com.au/player.php? | + | [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: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
- Usage
* {{ALPGTour player | 2157 | Cathryn Bristow }}
- Output
-
- Cathryn Bristow at the ALPG Tour official site
Named parameters
- Usage
* {{ALPGTour player | id= 2295 | name= Karrie Webb }}
- Output
-
- Karrie Webb at the ALPG Tour official site
TemplateData
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 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. | Number | required |
| name | name 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)".
| String | optional |
| The above documentation is transcluded from Template:ALPGTour player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |