Tɛmplet:Olympics.com/doc
This is a documentation subpage for Tɛmplet:Olympics.com. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template uses the Wikidata properties: |
This template uses Lua: |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Tɛmplet: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.
Usage
mali niŋ- 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 Olympics.com athlete dalinli (P5815)
{{Olympics.com}}
{{Olympics.com | name= NAME }}
Examples
mali niŋID in template (same as Olympic.org ID)
mali niŋ- 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 }}
- Katie Ledecky at Olympics.com
- Katie Ledecky at OlympicChannel.com (archived)
- adding archived Olympic.org link via
|org_archive=
* {{Olympics.com | katie-ledecky | org_archive= 20201204052403 }}
- Katie Ledecky at Olympics.com
- Katie Ledecky at Olympic.org (archived)
- adding both archived links
* {{Olympics.com | katie-ledecky | oc_archive= 20201201091535 | org_archive= 20201204052403 }}
- Katie Ledecky at Olympics.com
- Katie Ledecky at OlympicChannel.com (archived)
- Katie Ledecky at Olympic.org (archived)
- 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)
mali niŋ- 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}}
- Michael Phelps at Olympics.com
- Michael Phelps at OlympicChannel.com (archived)
- adding archived Olympic.org link via
|org_archive=
and|org_id=
* {{Olympics.com|michael-phelps-ii|org_archive=20210422191931|org_id=michael-phelps}}
- Michael Phelps at Olympics.com
- Michael Phelps at Olympic.org (archived)
- adding both archived links
* {{Olympics.com|michael-phelps-ii|oc_archive=20210227131142|org_archive=20210422191931|org_id=michael-phelps}}
- Michael Phelps at Olympics.com
- Michael Phelps at OlympicChannel.com (archived)
- Michael Phelps at Olympic.org (archived)
- 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
mali niŋ- Usage in the article Patrick Stevens, with Olympics.com link via Olympics.com athlete dalinli (P5815)
* {{Olympics.com}}
- adding archived OlympicChannel.com link via Olympics.com athlete dalinli (P5815) and
|oc_archive=
* {{Olympics.com | oc_archive= 20191213060304 }}
- Patrick Stevens at Olympics.com
- Patrick Stevens at OlympicChannel.com (archived)
- adding archived Olympic.org link via Olympic.org athlete ID (archived) (P3171) and
|org_archive=
* {{Olympics.com | org_archive= 20190811030059 }}
- Patrick Stevens at Olympics.com
- Patrick Stevens at Olympic.org (archived)
- adding both archived links
* {{Olympics.com | oc_archive= 20191213060304 | org_archive= 20190811030059 }}
- Patrick Stevens at Olympics.com
- Patrick Stevens at OlympicChannel.com (archived)
- Patrick Stevens at Olympic.org (archived)
- 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
mali niŋ- Usage in the article Paul Elvstrøm, with ID in template
* {{Olympics.com |id=paul-elvstrom |oc_archive=20200926062644 |oc_name=Paul Elvstrom}}
- Paul Elvstrøm at Olympics.com
- Paul Elvstrom at OlympicChannel.com (archived)
- Usage in the article Paul Elvstrøm, with ID in Wikidata
* {{Olympics.com |oc_archive=20200926062644 |oc_name=Paul Elvstrom}}
- Paul Elvstrøm at Olympics.com
- Paul Elvstrom at OlympicChannel.com (archived)
Different name at Olympic.org
mali niŋ- 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}}
- Barje Leander at Olympics.com
- Börje Leander at Olympic.org (archived)
- 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}}
- Barje Leander at Olympics.com
- Börje Leander at Olympic.org (archived)
No ID in template or Wikidata
mali niŋ- Usage
* {{Olympics.com}}
- Output
-
- {{Olympics.com profile}} template missing ID and not present in Wikidata.
- String Module Error: Target string is empty Olympics.com/doc at Olympic.org (archived)
TemplateData
mali niŋ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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Olympics.com and OlympicChannel.com ID | id 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.
| String | optional |
Olympics.com name | name 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)".
| String | optional |
OlympicChannel.com archive | oc_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.
| Number | optional |
OlympicChannel.com name | oc_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.
| String | optional |
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.
| Number | optional |
Olympic.org ID | org_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.
| String | optional |
Olympic.org name | org_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.
| String | optional |
Tracking categories
mali niŋ- Category:Olympics.com template with same ID for Olympic.org (0)
- Category:Olympics.com template with different ID for Olympic.org (0)
- Category:Olympics.com template missing ID and not in Wikidata (0)
- Category:Pages using Olympics.com template with unknown parameters (0)
See also
mali niŋ- {{IPC athlete}} for links to profiles from the International Paralympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{Chinese Olympic Committee profile}} for links to profiles from the Chinese Olympic Committee
- {{CNOM profile}} for links to profiles from the Comité National Olympique Marocain
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{HOO profile}} for links to profiles from the Hrvatski olimpijski odbor
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NOCNSF profile}} links to profiles of Dutch athletes at NOCNSF.nl
- {{TeamNL profile}} links to profiles of Dutch athletes at TeamNL.org
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{OFI profile}} for links to profiles from the Olympic Federation of Ireland
- {{OKS profile}} for links to profiles from the Olimpijski Komitet Srbije
- {{PKOl profile}} for links to profiles from the Polski Komitet Olimpijski
- {{SNOC profile}} for links to profiles from the Singapore National Olympic Council
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{SOSV profile}} for links to profiles from the Slovenský olympijský a športový výbor
- {{Team Belgium}} for links to profiles from Team Belgium (the Belgian Olympic and Interfederal Committee)
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOPC profile}} for links to profiles from the United States Olympic & Paralympic Committee
External links
mali niŋ