Template:European Athletics/doc
This is a documentation subpage for Template:European Athletics. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
[edit]- Current ID at european-athletics.com
{{European Athletics | ID }}
{{European Athletics | ID | NAME }}
{{European Athletics | id= ID }}
{{European Athletics | id= ID | name= NAME }}
- Former ID at european-athletics.org (archived)
{{European Athletics | old_id= ID }}
{{European Athletics | old_id= ID | name= NAME }}
{{European Athletics | old_id= ID | name= NAME | archive= NUMBER }}
- Both IDs
{{European Athletics | ID | old_id= ID }}
{{European Athletics | ID | old_id= ID | archive= NUMBER }}
{{European Athletics | ID | NAME | old_id= ID }}
{{European Athletics | ID | NAME | old_id= ID | archive= NUMBER }}
{{European Athletics | id= ID | old_id= ID }}
{{European Athletics | id= ID | old_id= ID | archive= NUMBER }}
{{European Athletics | id= ID | name= NAME | old_id= ID }}
{{European Athletics | id= ID | name= NAME | old_id= ID | archive= NUMBER }}
- Using Wikidata property
{{European Athletics}}
{{European Athletics | name= NAME }}
Examples
[edit]Current ID in template
[edit]- Usage in the article Marisa Barros
* {{European Athletics | 14294793 }}
* {{European Athletics | portugal/marisa-barros-14294793 }}
- Output
- URLs
- https://www.european-athletics.com/historical-data/athletes/-/14294793
- https://www.european-athletics.com/historical-data/athletes/portugal/marisa-barros-14294793
Former ID in template (archived)
[edit]- Usage in the article Marisa Barros
* {{European Athletics | old_id= b/athlete=132854-barros-marisa }}
* {{European Athletics | old_id= b/athlete=132854-barros-marisa | archive= 20201128175227 }}
- Output
-
- Marisa Barros at European Athletics (archived)
- Marisa Barros at European Athletics (archived)
- URL
- https://www.european-athletics.org/athletes/group=b/athlete=132854-barros-marisa/index.html (archived 2020-11-28)
Both IDs in template
[edit]- Usage in the article Kevin Mayer
* {{European Athletics | id= 14334978 | old_id= m/athlete=152778-mayer-kevin }}
* {{European Athletics | france/kevin-mayer-14334978 | old_id= m/athlete=152778-mayer-kevin | archive= 20201201162408 }}
- Output
- URLs
- https://www.european-athletics.com/historical-data/athletes/-/14334978
- https://www.european-athletics.com/historical-data/athletes/france/kevin-mayer-14334978
- https://www.european-athletics.org/athletes/group=m/athlete=152778-mayer-kevin/index.html (archived 2020-12-01)
Current ID in Wikidata
[edit]- Usage in the article Kevin Mayer
* {{European Athletics}}
* {{European Athletics | name= Kevin Mayer }}
- Output
No ID in template or Wikidata
[edit]- Usage
* {{European Athletics}}
- Output
-
- {{European Athletics}} template missing ID and not present in Wikidata.
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Current ID | id 1 | The ID portion of the current URL, such as 14294793 or portugal/marisa-barros-14294793 in https://www.european-athletics.com/historical-data/athletes/portugal/marisa-barros-14294793. This parameter is optional if Wikidata property P3766 exists or if "old_id" is used.
| String | optional |
Name | name 2 | The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Former ID | old_id | The ID portion of the former URL at European-Athletics.org. It causes the template in include a link to https://web.archive.org/web/20201201/https://www.european-athletics.org/athletes/group={{{old_id}}}/index.html.
| String | optional |
Archive Date/Time | archive | A number representing the date/time in an Internet Archive URL for the European-Athletics.org link. It causes the template in include a link to https://web.archive.org/web/{{archive}}/https://www.european-athletics.org/athletes/group={{{old_id}}}/index.html.
| Number | optional |
Tracking categories
[edit]See also
[edit]- {{World Athletics}} for links to athlete profiles from World Athletics
External links
[edit]