Template:Olympics.com/doc

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

Template:Olympics.com displays an external link to an athlete's profile at Olympics.com, an official website of the International Olympic Committee. It is intended for use in the external links section of an article.

Unnamed parameters
{{Olympics.com | ID }}
{{Olympics.com | ID | NAME }}
Named parameters
{{Olympics.com | id= ID }}
{{Olympics.com | id= ID | name= NAME }}
{{Olympics.com | id= ID | name= NAME | org_id= ID }}
Using Wikidata property (P5815)
{{Olympics.com}}
{{Olympics.com | name= NAME }}

Examples

[edit source]

ID in template (same as Olympic.org ID)

[edit source]
Usage in the article Katie Ledecky, with Olympics.com link
* {{Olympics.com | katie-ledecky }}
adding archived OlympicChannel.com link via |oc_archive=
* {{Olympics.com | katie-ledecky | oc_archive= 20201201091535 }}
adding archived Olympic.org link via |org_archive=
* {{Olympics.com | katie-ledecky | org_archive= 20201204052403 }}
adding both archived links
* {{Olympics.com | katie-ledecky | oc_archive= 20201201091535 | org_archive= 20201204052403 }}
URLs
https://olympics.com/en/athletes/katie-ledecky
https://web.archive.org/web/20201201091535/https://www.olympicchannel.com/en/athletes/detail/katie-ledecky/
https://web.archive.org/web/20201204052403/https://www.olympic.org/katie-ledecky

ID in template (different from Olympic.org ID)

[edit source]
Usage in the article Michael Phelps, with Olympics.com link
* {{Olympics.com|michael-phelps-ii}}
adding archived OlympicChannel.com link via |oc_archive=
* {{Olympics.com|michael-phelps-ii|oc_archive=20210227131142}}
adding archived Olympic.org link via |org_archive= and |org_id=
* {{Olympics.com|michael-phelps-ii|org_archive=20210422191931|org_id=michael-phelps}}
adding both archived links
* {{Olympics.com|michael-phelps-ii|oc_archive=20210227131142|org_archive=20210422191931|org_id=michael-phelps}}
URLs
https://olympics.com/en/athletes/michael-phelps-ii
https://web.archive.org/web/20210227131142/https://www.olympicchannel.com/en/athletes/detail/michael-phelps-ii/
https://web.archive.org/web/20210422191931/https://www.olympic.org/michael-phelps

ID in Wikidata

[edit source]
Usage in the article Patrick Stevens, with Olympics.com link via (P5815)
* {{Olympics.com}}
adding archived OlympicChannel.com link via (P5815) and |oc_archive=
* {{Olympics.com | oc_archive= 20191213060304 }}
adding archived Olympic.org link via (P3171) and |org_archive=
* {{Olympics.com | org_archive= 20190811030059 }}
adding both archived links
* {{Olympics.com | oc_archive= 20191213060304 | org_archive= 20190811030059 }}
URLs
https://olympics.com/en/athletes/patrick-stevens-1
https://web.archive.org/web/20191213060304/https://www.olympicchannel.com/en/athletes/detail/patrick-stevens-1/
https://web.archive.org/web/20190811030059/https://www.olympic.org/patrick-stevens

Different name at OlympicChannel.com

[edit source]
Usage in the article Paul Elvstrøm, with ID in template
* {{Olympics.com |id=paul-elvstrom |oc_archive=20200926062644 |oc_name=Paul Elvstrom}}
Usage in the article Paul Elvstrøm, with ID in Wikidata
* {{Olympics.com |oc_archive=20200926062644 |oc_name=Paul Elvstrom}}

Different name at Olympic.org

[edit source]
Usage in the article Börje Leander, with both IDs in template
* {{Olympics.com |id=barje-leander |name=Barje Leander |org_archive=20200814063101 |org_id=borje-leander |org_name=Börje Leander}}
Usage in the article Börje Leander, with both IDs in Wikidata
* {{Olympics.com |name=Barje Leander |org_archive=20200814063101 |org_name=Börje Leander}}

No ID in template or Wikidata

[edit source]
Usage
* {{Olympics.com}}
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:Olympics.com in articles based on its TemplateData.

TemplateData for Olympics.com

This template displays an external link to an athlete's profile at Olympics.com, an official website of the International Olympic Committee. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Olympics.com and OlympicChannel.com IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the Olympics.com URL. This parameter is optional if Wikidata property P5815 exists, but required if not.

Default
Wikidata property P5815
Example
michael-phelps-ii
Stringoptional
Olympics.com namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete as shown at Olympics.com. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Example
Michael Phelps
Stringoptional
OlympicChannel.com archiveoc_archive

The "org_archive" parameter may be used to add an archived link for the athlete's OlympicChannel.com page (see examples). It should contain a number representing the date/time in an Internet Archive URL.

Example
20210227131142
Numberoptional
OlympicChannel.com nameoc_name

The "oc_name" parameter may be used to specify different link text for the archived OlympicChannel.com link. This parameter is optional; the first default is the "name" parameter; the second default is the Wikipedia article name, without disambiguation.

Default
"name" parameter or {{PAGENAMEBASE}}
Stringoptional
Olympic.org archive org_archive

The "org_archive" parameter may be used to add an archived link for the athlete's Olympic.org page (see examples). It should contain a number representing the date/time in an Internet Archive URL.

Example
20210422191931
Numberoptional
Olympic.org IDorg_id

The "org_id" parameter may be used to specify a different ID for the archived Olympic.org link. This parameter is optional; it defaults to either the "id" parameter or Wikidata property P3171.

Default
"id" parameter or Wikidata property P3171
Example
michael-phelps
Stringoptional
Olympic.org nameorg_name

The "org_name" parameter may be used to specify different link text for the archived Olympic.org link. This parameter is optional; the first default is the "name" parameter; the second default is the Wikipedia article name, without disambiguation.

Default
"name" parameter or {{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit source]

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]