Template:USATF displays an external link to an athlete's profile at www.USATF.org or legacy.USATF.org, the official websites of USA Track & Field. It is intended for use in the external links section of an article.
Usage
- Using article name as link text
{{USATF|new_id=first-last}}
{{USATF|id=First-Last}}
or{{USATF|First-Last}}
{{USATF|old_id=Last_First}}
{{USATF}}
– using Wikidata property P10634 or P3926
- Using name parameter as link text
{{USATF|new_id=first-last|name=Displayed Name}}
{{USATF|id=First-Last|name=Displayed Name}}
or{{USATF|First-Last|Displayed Name}}
{{USATF|old_id=Last_First|name=Displayed Name}}
{{USATF|name=Displayed Name}}
– using Wikidata property P10634 or P3926
Examples
Using |new_id=
- Usage
* {{USATF | new_id= shannon-rowbury | name= Shannon Rowbury }}
- Output
Using |id=
or unnamed parameter
- Usage
* {{USATF | id= Shannon-Rowbury | name= Shannon Rowbury }}
* {{USATF | Shannon-Rowbury | Shannon Rowbury }}
- Output
- URLs
- http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx
- http://www.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx (archive)
Using |old_id=
- Usage
* {{USATF | old_id= Krummenacker_David | name= David Krummenacker }}
- Output
- URLs
- http://legacy.usatf.org/athletes/bios/Krummenacker_David.asp
- http://www.usatf.org/athletes/bios/Krummenacker_David.asp (archive)
Using Wikidata property P10634
- Usage in the article Christina Clemons
* {{USATF}}
* {{USATF | name= Christina Clemons }}
- Output
Using Wikidata property P3926
- Usage in the article Mookie Salaam
* {{USATF}}
* {{USATF | name= Mookie Salaam }}
- Output
- URLs
- http://legacy.usatf.org/Athlete-Bios/Mookie-Salaam.aspx
- http://www.usatf.org/Athlete-Bios/Mookie-Salaam.aspx (archive)
No ID in template or Wikidata
- Usage
* {{USATF}}
- Output
-
- {{USATF}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for USATF
This template displays an external link to an athlete's profile at legacy.USATF.org or www.USATF.org, the official websites of USA Track & Field. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
new_id | new_id | The "new_id" parameter may contain the ID portion of a URL using the format first-last. Example: shannon-rowbury is the ID portion of https://www.usatf.org/athlete-bios/shannon-rowbury. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used, if the "old_id" parameter is used, or if Wikidata properties P10634 or P3926 exist.
| String | optional |
id | id 1 | The "id" parameter (or unnamed parameter "1") may contain the ID portion of a URL using the format First-Last. Example: Shannon-Rowbury is the ID portion of http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx. This parameter is optional if the "old_id" or "new_id" parameters are used, or if Wikidata properties P10634 or P3926 exist.
| String | optional |
old_id | old_id | The "old_id" parameter may contain the ID portion of a URL using the format Last_First. Example: Krummenacker_David is the ID portion of http://legacy.usatf.org/athletes/bios/Krummenacker_David.asp. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used, if the "new_id" parameter is used, or if Wikidata properties P10634 or P3926 exist. | String | 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 |
Tracking categories
- template using
|new_id=
- Category:USATF template using new_id parameter different from Wikidata (0)
- Category:USATF template using new_id parameter not in Wikidata (1)
- template using
|id=
or first unnamed parameter
- Category:USATF template using id parameter different from Wikidata (0)
- Category:USATF template using id parameter not in Wikidata (0)
- template using
|old_id=
- template missing ID
- Category:USATF template using Wikidata property P10634 (16)
- Category:USATF template using Wikidata property P3926 (9)
- Category:USATF template missing ID and not in Wikidata (0)
See also
- {{USATF Hall of Fame}} for links to profiles at the USA Track & Field (legacy.usatf.org) Hall of Fame website
- {{World Athletics}} for links to profiles at the website of World Athletics (formerly known as IAAF)