Template:Australian Olympic Committee/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

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

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Australian Olympic Committee in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P3682
Example
john-ferguson-0
Stringoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Example
John Ferguson
Stringoptional
Internet Archive Date/Timearchive 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).

Example
20130522092223
Numberoptional
Old IDold_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.

Default
"id" parameter or Wikidata property P3682
Example
john-ferguson1
Stringoptional

Tracking categories

[edit source]
template with ID
template missing ID

See also

[edit source]

Olympic profile templates

[edit source]
Country Template Wikidata property
{{Olympics.com}} P5815
Argentina {{COA profile}} P4065
Australia {{Australian Olympic Committee}} P3682
Austria {{Team Austria}} P13928
Azerbaijan {{Olympic.az}} P10975
Belarus {{NOC Belarus}}
Belgium {{Team Belgium}} P10963
Brazil {{COB profile}} P4060
Canada {{Team Canada}} P4054
China {{Chinese Olympic Committee profile}} P4068
Croatia {{HOO profile}} P4541
Czech Republic {{COV profile}} P4062
Estonia {{ESBL profile}} P4042
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}} P13268
France {{Team France}}
{{CNOSF profile}}
P11934
P4050
Germany {{Team Deutschland}} P4053
Great Britain {{Team GB}} P4490
Greece {{HOC profile}} No property for current ID
P4489
Hungary {{MOB profile}} P4066
Ireland {{OFI profile}} P10914
Israel {{OCI profile}} P9669
Italy {{CONI profile}} P4069
Japan {{Team Japan}}
Kazakhstan {{Olympic.kz}} P11024
Latvia {{LOK profile}} No property for current ID
P2593
Lithuania {{LTOK profile}} P4061
Luxembourg {{COSL profile}} P12372
Morocco {{CNOM profile}} P11019
Netherlands {{TeamNL profile}} No property for current ID
P9822
Netherlands {{NOCNSF profile}} P10957
New Zealand {{NZOC profile}} P4056
Norway {{Team Norway}}
Poland {{PKOl profile}} No property for current ID
P6071
Qatar {{Team Qatar}}
Romania {{COSR profile}} No property for current ID
P4067
Serbia {{OKS profile}} P10978
Singapore {{SNOC profile}} P10979
Slovakia {{SOSV profile}} P10647
Spain {{COE profile}} P8421
Sweden {{SOK profile}} P2323
Turkey {{TMOK profile}}
{{Olimpedya}}
P9973
 
United States {{Team USA}} P13540
P4063
[edit source]