This template uses Lua: |
Template:Diamond League profile displays an external link to an athlete's profile at the official website of the Diamond League. The template is intended for use in the external links section of an article.
Usage edit
Unnamed parameters:
{{Diamond League profile | ID }}
{{Diamond League profile | ID | NAME }}
Named parameters:
{{Diamond League profile | id= ID }}
{{Diamond League profile | id= ID | name= NAME }}
Using Wikidata property Diamond League athlete ID (P3923):
{{Diamond League profile}}
{{Diamond League profile | name= NAME }}
Examples edit
Unnamed parameters edit
Usage:
* {{Diamond League profile | 14258756 | Mathilde Andraud }}
Output:
URL:
Named parameters edit
Usage:
* {{Diamond League profile |id= 14195659 |name= Kirani James }}
Output:
URL:
No parameters and Wikidata property not defined edit
Usage:
{{Diamond League profile}}
Output:
- {{Diamond League profile}} template missing ID and not present in Wikidata.
TemplateData edit
TemplateData for Diamond League profile
This template ddisplays an external link to an athlete's profile at the official website of the Diamond League. The template is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: 14258756 is the ID portion of https://www.diamondleague.com/athletes/14258756.html. This parameter is optional if Wikidata property P3923 exists, but required if not.
| Number | optional |
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. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
See also edit
- {{World Athletics}}
- {{European Athletics}}