Template:European Athletics/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

Template:European Athletics displays an external link to an athlete's profile at the official website of European Athletics, the governing body for the sport of athletics in Europe. It is intended for use in the external links section of an article.

Usage

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property:

Template:Tlcw
Template:Tlcw

Examples

ID in template

Usage in the article Marisa Barros, with article name as link text:

Template:Tlcw

Usage with name parameter as link text:

Template:Tlcw

Output:

URL:

https://www.european-athletics.org/athletes/group=b/athlete=132854-barros-marisa/index.html

ID in Wikidata

Usage in the article Kevin Mayer:

Template:Tlcw
Template:Tlcw

Output:

URL:

https://www.european-athletics.org/athletes/group=m/athlete=152778-mayer-kevin/index.html

No ID in template or Wikidata

Usage:

Template:Tlcw

Output:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for European Athletics

This template displays an external link to an athlete's profile at the official website of European Athletics, the governing body for the sport of athletics in Europe. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid

The "id" parameter should contain the ID portion of the URL. Example: b/athlete=132854-barros-marisa is the ID portion of https://www.european-athletics.org/athletes/group=b/athlete=132854-barros-marisa/index.html. This parameter is optional if Wikidata property P3766 exists, but required if not.

Default
Wikidata property P3766
Stringoptional
namename

The "name" parameter 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links