Template:Australian Olympic Committee/doc
| This is a documentation subpage for Template:Australian Olympic Committee. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:Australian Olympic Committee displays an external link to an athlete's profile at Olympics.com.au, the official website of the Australian Olympic Committee (AOC). It is intended for use in the external links section of an article.
Usage
[edit source]- Unnamed parameters
{{Australian Olympic Committee | ID }}{{Australian Olympic Committee | ID | NAME }}{{Australian Olympic Committee | ID | NAME | ARCHIVE DATE/TIME }}
- Named parameters
{{Australian Olympic Committee | id= ID }}{{Australian Olympic Committee | id= ID | name= NAME }}{{Australian Olympic Committee | id= ID | name= NAME | archive= ARCHIVE DATE/TIME }}
- Using Wikidata property
{{Australian Olympic Committee}}{{Australian Olympic Committee | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]Example for John Ferguson, a sailing competitor at the 1968 Summer Olympics in Mexico City:
- Usage
* {{Australian Olympic Committee | john-ferguson | John Ferguson }}* {{Australian Olympic Committee | john-ferguson | John Ferguson | 20130522082936 }}
- Output
- URLs
- https://www.olympics.com.au/olympians/john-ferguson/
- https://web.archive.org/web/20130522082936/http://corporate.olympics.com.au/athlete/john-ferguson
Named parameters
[edit source]Example for John Ferguson, a water polo competitor at the 1948 Summer Olympics in London:
- Usage
* {{AOC | id= john-ferguson-0 | name= John Ferguson }}* {{AOC | id= john-ferguson-0 | name= John Ferguson | archive= 20130522092223 | old_id= john-ferguson1 }}
- Output
- URLs
- https://www.olympics.com.au/olympians/john-ferguson-0/
- https://web.archive.org/web/20130522092223/http://corporate.olympics.com.au/athlete/john-ferguson1
ID in Wikidata
[edit source]- Usage in the article Brodie Buckland
* {{AOC}}* {{AOC |name= William Buckland |archive= 20150925131521 |old_id= brodie-buckland }}
- Output
- URLs
- https://www.olympics.com.au/olympians/william-buckland/
- https://web.archive.org/web/20150925131521/http://corporate.olympics.com.au/athlete/brodie-buckland
No parameters and Wikidata property not defined
[edit source]- Usage
* {{Australian Olympic Committee}}
- Output
-
- Australian Olympic Committee/doc at the Australian Olympic CommitteeLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for Australian Olympic Committee
This template displays an external link to an athlete's profile at Olympics.com.au, the official website of the Australian Olympic Committee (AOC). 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 current www.olympics.com.au/olympians/ URL. This parameter is optional if Wikidata property P3682 exists, but required if not.
| String | optional |
| Name | name 2 | The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
| Internet Archive Date/Time | archive 3 | Used to add an archived link for the corporate.olympics.com.au/athlete/ URL (see examples). It should contain a number representing the date/time in an Internet Archive URL such as https://web.archive.org/web/20130522092223/http://corporate.olympics.com.au/athlete/john-ferguson1 (2013-05-22 09:22:23 archive of http://corporate.olympics.com.au/athlete/john-ferguson1).
| Number | optional |
| Old ID | old_id | Used to specify a different ID for the archived corporate.olympics.com.au/athlete/ URL. This parameter is optional; it defaults to either the "id" parameter or Wikidata property P3682.
| String | optional |
Tracking categories
[edit source]- template with ID
- Category:Australian Olympic Committee template with ID different from Wikidata (0)
- Category:Australian Olympic Committee template with ID not in Wikidata (0)
- Category:Australian Olympic Committee template with ID not matching pattern (0)
- template missing ID
See also
[edit source]- {{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
- {{Tennis Australia}} for links to profiles from Tennis Australia
Olympic profile templates
[edit source]External links
[edit source]