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

URL
https://usagym.org/pages/athletes/athleteListDetail.html?id=316721
Usage
{{USA Gymnastics | 316721 | Justin Spring }}
Output
Justin Spring at USA Gymnastics

Named parameters edit

URL
https://usagym.org/pages/athletes/athleteListDetail.html?id=330449
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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:USA Gymnastics in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P3671
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
briefbrief

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.

Stringoptional

See also edit