Template:IOC profile/doc

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

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

ID in template
Usage in the article Michael Phelps, with article name as link text:

Usage with name parameter as link text:

Output:

URL in template:
 * https://www.olympic.org/michael-phelps

Current URL (redirect from above):
 * https://olympics.com/en/athletes/michael-phelps-ii

ID in Wikidata
Usage in the article Larisa Latynina:

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

URL in template:
 * https://www.olympic.org/larisa-latynina

Current URL (redirect from above):
 * https://olympics.com/en/athletes/larisa-latynina

No ID in template or Wikidata
Usage:

Output:

TemplateData
{ "description": "This template displays an external link to an athlete's profile at Olympic.org, the official website of the International Olympic Committee (IOC). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: michael-phelps is the ID portion of https://www.olympic.org/michael-phelps. This parameter is optional if Wikidata property P3171 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P3171" },   "name": { "label": "name", "aliases": ["2"], "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify 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)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }

Tracking categories

 * template with ID
 * template missing ID
 * template missing ID
 * template missing ID