Template:AOC profile/sandbox
{{{name}}} at the Australian Olympic Committee
This is the template sandbox page for Template:AOC profile (diff). |
This template uses Lua: |
Template:AOC profile 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]- Unnamed parameters
{{AOC profile | ID }}
{{AOC profile | ID | NAME }}
{{AOC profile | ID | NAME | ARCHIVE DATE/TIME }}
- Named parameters
{{AOC profile | id= ID }}
{{AOC profile | id= ID | name= NAME }}
{{AOC profile | id= ID | name= NAME | archive= ARCHIVE DATE/TIME }}
- Using Wikidata property
{{AOC profile}}
{{AOC profile | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Example for John Ferguson, a sailing competitor at the 1968 Summer Olympics in Mexico City:
- Usage
* {{AOC profile | john-ferguson | John Ferguson }}
* {{AOC profile | 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]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]- 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]- Usage
* {{AOC profile}}
- Output
-
- {{AOC profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for AOC profile
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 |
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.
| 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]- template with ID
- Category:AOC athlete ID different from Wikidata (0)
- Category:AOC athlete ID not in Wikidata (2)
- Category:AOC profile template with ID not matching pattern (0)
- template missing ID
See also
[edit]- {{Paralympics Australia}} for links to profiles from Paralympics Australia
- {{Commonwealth Games Australia}} for links to profiles from Commonwealth Games Australia
Olympic profile templates
[edit]Country | Template | Wikidata property |
---|---|---|
{{Olympics.com profile}} | P5815: Olympics.com athlete ID | |
Argentina | {{COA profile}} | P4065: Argentine Olympic Committee athlete ID |
Australia | {{AOC profile}} | P3682: Australian Olympic Committee athlete ID |
Azerbaijan | {{Olympic.az profile}} | P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID |
Belarus | {{NOC Belarus}} | |
Belgium | {{Team Belgium}} | P10963: Belgian Olympic and Interfederal Committee athlete ID |
Brazil | {{COB profile}} | P4060: Brazilian Olympic Committee athlete ID |
Canada | {{Team Canada}} | P4054: Team Canada athlete ID |
China | {{Chinese Olympic Committee profile}} | P4068: Chinese Olympic Committee athlete ID (archived) |
Croatia | {{HOO profile}} | P4541: Croatian Olympic Committee athlete ID (archived) |
Czech Republic | {{COV profile}} | P4062: Czech Olympic Committee athlete ID |
Estonia | {{ESBL profile}} | P4042: ESBL athlete ID |
Estonia | {{EOK profile}} | |
Finland | {{Olympiakomitea.fi}} | |
France | {{CNOSF profile}} | P4050: EspritBleu athlete ID (archived) |
France | {{Team France}} | P11934: Team France athlete ID |
Germany | {{DOSB profile}} | P4053: Team Deutschland athlete ID |
Great Britain | {{Team GB}} | P4490: Team GB athlete ID |
Greece | {{HOC profile}} | P4489: Hellenic Olympic Committee athlete ID (archived) |
Hungary | {{MOB profile}} | P4066: Hungarian Olympic Committee athlete ID |
Ireland | {{OFI profile}} | P10914: Olympic Federation of Ireland athlete ID |
Israel | {{OCI profile}} | P9669: Olympic Committee of Israel athlete ID (archived) |
Italy | {{CONI profile}} | P4069: Italian National Olympic Committee athlete ID |
Japan | {{JOC profile}} | |
Kazakhstan | {{Olympic.kz profile}} | P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID |
Latvia | {{LOK profile}} | P2593: Latvian Olympic Committee athlete ID (archived) |
Lithuania | {{LTOK profile}} | P4061: Lithuanian National Olympic Committee athlete ID |
Luxembourg | {{COSL profile}} | P12372: Luxembourg Olympic and Sports Committee profile ID |
Morocco | {{CNOM profile}} | P11019: Moroccan Olympic Committee athlete ID |
Netherlands | {{TeamNL profile}} | P9822: TeamNL athlete ID number (archived) |
Netherlands | {{NOCNSF profile}} | P10957: NOC*NSF athlete ID |
New Zealand | {{NZOC profile}} | P4056: New Zealand Olympic Committee athlete ID |
Norway | {{Team Norway}} | |
Poland | {{PKOl profile}} | P6071: Polish Olympic Committee athlete ID (archived) |
Qatar | {{Team Qatar}} | |
Romania | {{COSR profile}} | P4067: Romanian Olympic and Sports Committee athlete ID |
Serbia | {{OKS profile}} | P10978: Olympic Committee of Serbia athlete ID (new) |
Singapore | {{SNOC profile}} | P10979: Singapore National Olympic Council athlete ID |
Slovakia | {{SOSV profile}} | P10647: Slovak Olympic and Sports Committee athlete ID |
Spain | {{COE profile}} | P8421: Spanish Olympic Committee athlete ID |
Sweden | {{SOK profile}} | P2323: Swedish Olympic Committee athlete ID |
Turkey | {{TMOK profile}} | P9973: Turkish National Olympic Committee athlete ID |
Turkey | {{Olimpedya}} | |
United States | {{USOPC profile}} | P4063: Team USA athlete former ID (archived) |