Template:AOC profile/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters
Example for John Ferguson, a sailing competitor at the 1968 Summer Olympics in Mexico City:


 * Usage


 * 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
Example for John Ferguson, a water polo competitor at the 1948 Summer Olympics in London:


 * Usage


 * 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

 * Usage in the article Brodie Buckland


 * Output
 * OOjs UI icon edit-ltr-progressive.svg
 * OOjs UI icon edit-ltr-progressive.svg


 * 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

 * Usage


 * Output

TemplateData
{ "description": "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.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "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.", "default": "Wikidata property P3682", "example": "john-ferguson-0", "type": "string", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "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)\".", "default": "", "example": "John Ferguson", "type": "string", "required": false },   "archive": { "label": "Archive Date/Time", "aliases": ["3"], "description": "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.", "example": "20130522092223", "type": "number", "required": false },   "old_id": { "label": "Old ID", "description": "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.", "default": "\"id\" parameter or Wikidata property P3682", "example": "john-ferguson1", "type": "string", "required": false } },  "paramOrder": [ "id", "name", "archive", "old_id" ] }

Tracking categories

 * template with ID


 * template missing ID