Template:USA Gymnastics
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
change- 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
changeUnnamed parameters
change- Usage
{{USA Gymnastics | 316721 | Justin Spring }}
- Output
- Justin Spring at USA Gymnastics
Named parameters
change- 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
change- Usage
{{USA Gymnastics}}
- Output
- {{USA Gymnastics}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData 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
change- {{FIG}}