Template:X Games profile
{{{name}}} at the X Games
![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
NO LABEL (P4893) (see uses)
![]() | This template uses Lua: |
Template:X Games profile displays an external link to an athlete's profile at xgames.com, the official website of the X Games. It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{X Games profile | ID }}
{{X Games profile | ID | NAME }}
Named parameters:
{{X Games profile | id= ID }}
{{X Games profile | id= ID | name= NAME }}
Using Wikidata property (P4893):
{{X Games profile}}
{{X Games profile | name= NAME }}
Examples
ID in template
Usage in the article Marie Martinod, with article name as link text:
* {{X Games profile | 3014676 }}
* {{X Games profile | id= 3014676 }}
Usage with name parameter as link text:
* {{X Games profile | 3014676 | Marie Martinod }}
* {{X Games profile | id= 3014676 | name= Marie Martinod }}
Output:
- Marie Martinod at the X Games
URLs:
ID in Wikidata
Usage in the article Mitchie Brusco:
* {{X Games profile}}
* {{X Games profile | name= Mitchie Brusco }}
Output:
- Mitchie Brusco at the X Games
- Mitchie Brusco at the X Games
URLs:
No ID in template or Wikidata
Usage:
* {{X Games profile}}
Output:
- {{X Games profile}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for X Games profile
This template displays an external link to an athlete's profile at xgames.com, the official website of the X Games. It 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. Example: 3014676 is the ID portion of http://www.xgames.com/athletes/3014676/marie-martinod. This parameter is optional if Wikidata property P4893 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 |