Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Olympedia/doc

From Wikipedia, the free encyclopedia

Template:Olympedia displays an external link to an Olympic athlete's profile at Olympedia.org. It is intended for use in the external links section of an article.

Usage

[edit]

Omit the ID to use the Wikidata property.

Article name as link text
{{Olympedia | ID }}
{{Olympedia | id= ID }}
Parameter as link text
{{Olympedia | ID | NAME }}
{{Olympedia | id= ID | name= NAME }}

Examples

[edit]

ID in template

[edit]
Usage in the article Thiago Pereira, with article name as link text
* {{Olympedia | 103160 }}
* {{Olympedia | id= 103160 }}
Usage with name parameter as link text
* {{Olympedia | 103160 | Thiago Pereira }}
* {{Olympedia | id= 103160 | name= Thiago Pereira }}
Output
URL
https://www.olympedia.org/athletes/103160

ID in Wikidata

[edit]
Usage in the article Emma McKeon
* {{Olympedia}}
* {{Olympedia | name= Emma McKeon }}
Output
URL
https://www.olympedia.org/athletes/129061

No ID in template or Wikidata

[edit]
Usage
* {{Olympedia}}
* {{Olympedia | name= Emma McKeon }}
Output
  • {{Olympedia}} template missing ID and not present in Wikidata.
  • {{Olympedia}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for Olympedia

This template displays an external link to an Olympic athlete's profile at Olympedia.org. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 103160 in https://www.olympedia.org/athletes/103160. This parameter is optional if Wikidata property P8286 exists, but required if not.

Default
Wikidata property P8286
Example
103160
Numberoptional
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
Thiago Pereira
Stringoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]
[edit]