Template:USATF
This template uses Lua: |
Template:USATF displays an external link to an athlete's profile at the official USA Track & Field website. 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
-
- Shannon Rowbury at legacy.USATF.org (archived)
- Shannon Rowbury at legacy.USATF.org (archived)
- Former URLs
- http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx (archive 2022-12-25)
- http://www.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx (archive 2019-10-09)
Using |old_id=
- Usage
* {{USATF | old_id= Marks_Shani | name= Shani Marks }}
- Output
-
- Shani Marks at legacy.USATF.org (archived)
- Former URLs
- http://legacy.usatf.org/athletes/bios/Marks_Shani.asp (archive 2023-09-18)
- http://www.usatf.org/athletes/bios/Marks_Shani.asp (archive 2018-10-07)
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
-
- Mookie Salaam at legacy.USATF.org (archived)
- Former URLs
- http://legacy.usatf.org/Athlete-Bios/Mookie-Salaam.aspx (archive 2022-09-25)
- http://www.usatf.org/Athlete-Bios/Mookie-Salaam.aspx (archive 2019-01-20)
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 the official USA Track & Field website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_id | The ID portion of a current www.usatf.org URL using the format first-last, such as shannon-rowbury in https://www.usatf.org/athlete-bios/shannon-rowbury. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist.
| String | optional |
Old ID 2 | id 1 | The ID portion of a former legacy.usatf.org URL using the format First-Last, such as Shannon-Rowbury in http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist.
| String | optional |
Old ID 1 | old_id | The ID portion of a former legacy.usatf.org URL using the format Last_First, such as Marks_Shani in http://legacy.usatf.org/athletes/bios/Marks_Shani. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist. | String | optional |
Name | name 2 | 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 (5)
- 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 (3)
- template using
|old_id=
- template missing ID
- Category:USATF template using Wikidata property P10634 (143)
- Category:USATF template using Wikidata property P3926 (18)
- 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)
External links
Find athlete IDs to use with |new_id=
parameter:
Find athlete IDs to use with |id=
or unnamed parameter:
Find athlete IDs for |old_id=
parameter: