Template:Tennis Australia/doc
| icon | This is a documentation subpage for Template:Tennis Australia. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
Template:Tennis Australia displays an external link to a player's page at Tennis Australia, the governing body for the sport of tennis in Australia. It is intended for use in the external links section of an article.
Usage
[edit source]Omit the ID to use the Wikidata property.
- Article name as link text
{{Tennis Australia | ID }}{{Tennis Australia | id= ID }}
- Parameter as link text
{{Tennis Australia | ID | NAME }}{{Tennis Australia | id= ID | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage in Ashleigh Barty
* {{Tennis Australia | ashleigh-barty }}
- Output
Named parameters
[edit source]- Usage in Alex de Minaur
* {{Tennis Australia | id= alex-de-minaur }}
- Output
No parameters and Wikidata property not defined
[edit source]- Usage
* {{Tennis Australia}}
- Output
-
- Tennis Australia/doc at Tennis AustraliaLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for Tennis Australia
This template displays an external link to a player's page at Tennis Australia, the governing body for the sport of tennis in Australia. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as ashleigh-barty in https://www.tennis.com.au/fan-zone/australian-players/ashleigh-barty. This parameter is optional if Wikidata property P3698 exists, but required if not.
| String | optional |
| Name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".
| String | optional |
Templates and modules used
[edit source]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
See also
[edit source]Tennis:
- {{ITF}} for links to profiles from the International Tennis Federation
- {{ATP}} for links to profiles from the Association of Tennis Professionals
- {{WTA}} for links to profiles from the Women's Tennis Association
Australia:
- {{Australian Olympic Committee}} for links to profiles from the Australian Olympic Committee
- {{Paralympics Australia}} for links to profiles from Paralympics Australia
- {{Commonwealth Games Australia}} for links to profiles from Commonwealth Games Australia
- {{Hockey Australia}} for links to profiles from Hockey Australia
- {{Rowing Australia}} for links to profiles from Rowing Australia
- {{Swimming Australia}} for links to profiles from Swimming Australia
External links
[edit source]- Player profiles at Tennis Australia