Template:USA Gymnastics
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:USA Gymnastics displays an external link to a gymnast's profile at USAgym.org, the official website of USA Gymnastics, the national governing body for gymnastics in the United States. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{USA Gymnastics | ID }}
{{USA Gymnastics | ID | NAME }}
- Named parameters
{{USA Gymnastics | id= ID }}
{{USA Gymnastics | id= ID | name= NAME }}
{{USA Gymnastics | id= ID | brief= yes }}
{{USA Gymnastics | id= ID | name= NAME | brief= yes }}
- Using Wikidata property
{{USA Gymnastics}}
{{USA Gymnastics | name= NAME }}
{{USA Gymnastics | brief= yes }}
{{USA Gymnastics | name= NAME | brief= yes }}
Examples
[edit]Unnamed parameters
[edit]- Usage
{{USA Gymnastics | 316721 | Justin Spring }}
- Output
- Justin Spring at USA Gymnastics
Named parameters
[edit]- Usage
{{USA Gymnastics | id= 330449 | name= Shawn Johnson }}
{{USA Gymnastics | id= 330449 | name= Shawn Johnson | brief= yes }}
- Output
- Shawn Johnson at USA Gymnastics
- Shawn Johnson
No parameters and Wikidata property not defined
[edit]- Usage
{{USA Gymnastics}}
- Output
- {{USA Gymnastics}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for USA Gymnastics
This template displays an external link to a gymnast's profile at USAgym.org, the official website of USA Gymnastics, the national governing body for gymnastics in the United States. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number in the URL, such as 330449 in https://usagym.org/pages/athletes/athleteListDetail.html?id=330449. This parameter is optional if Wikidata property P3671 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the gymnast. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(gymnast)".
| String | optional |
brief | brief | The "brief" parameter may be used to display the external link without the appended description. The value can be "yes", "true", or any text. This parameter is optional. | String | optional |
See also
[edit]- {{FIG}}