Template:NFL.com player
This template uses Lua: |
Template:NFL.com player displays an external link to an American football player's profile at NFL.com, the official website of the National Football League. It is intended for use in the external links section of an article.
Usage
[edit]- One parameter
{{NFL.com player | firstname-lastname }}
{{NFL.com player | id= firstname-lastname }}
- Two parameters
{{NFL.com player | firstname-lastname | Displayed Name }}
{{NFL.com player | id= firstname-lastname | name= Displayed Name }}
- Using Wikidata property
{{NFL.com player}}
{{NFL.com player | name= Displayed Name }}
Examples
[edit]ID in template
[edit]- Usage
* {{NFL.com player | tom-brady | Tom Brady }}
* {{NFL.com player | id= tom-brady | name= Tom Brady }}
- Current URL with first-last ID — Wikidata property NFL.com player ID (new scheme) (P9338)
- https://www.nfl.com/players/tom-brady/ (archived 2020)
- Former URLs with numeric ID — Wikidata property NFL.com player ID (former scheme) (P3539)
- http://www.nfl.com/player/wd/2504211/profile (archived 2019)
- http://www.nfl.com/player/tombrady/2504211/profile (archived 2011)
- Other previous URLs with different IDs
- http://www.nfl.com/players/profile?id=BRA371156 (archived 2007)
- http://www.nfl.com/players/tombrady/profile?id=BRA371156 (archived 2007)
- http://www.nfl.com/players/playerpage/187741 (archived 2002)
ID in Wikidata
[edit]- Usage in the article Tom Brady
* {{NFL.com player}}
No ID in template or Wikidata
[edit]- Usage
* {{NFL.com player}}
- Output
-
- {{NFL.com player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for NFL.com player
This template displays an external link to an American football player's profile at NFL.com, the official website of the National Football League. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as tom-brady in https://www.nfl.com/players/tom-brady/. This parameter is optional if Wikidata property P9338 exists, but required if not.
| String | optional |
Name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(football player)".
| String | optional |
Tracking categories
[edit]- template with ID
- Category:NFL.com player template with ID different from Wikidata (6)
- Category:NFL.com player template with ID not in Wikidata (0)
- template missing ID