Template:ESPN NFL
From Wikipedia, the free encyclopedia
This template uses the Wikidata property:
This template uses Lua: |
Template:ESPN NFL displays an external link to a National Football League (NFL) player's profile at ESPN.com. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{ESPN NFL | ID }}
{{ESPN NFL | ID | NAME }}
- Named parameters
{{ESPN NFL | id= ID }}
{{ESPN NFL | id= ID | name= NAME }}
- Using Wikidata property
{{ESPN NFL}}
{{ESPN NFL | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{ESPN NFL | 10536/trent-edwards | Trent Edwards }}
* {{ESPN NFL | 10536 | Trent Edwards }}
- Output
Named parameters
- Usage
* {{ESPN NFL | id= 15994/theo-riddick | name= Theo Riddick }}
* {{ESPN NFL | id= 15994 | name= Theo Riddick }}
- Output
No parameters and Wikidata property not defined
- Usage
* {{ESPN NFL}}
- Output
- {{ESPN NFL}} template missing ID and not present in Wikidata.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ESPN NFL in articles based on its TemplateData.
TemplateData for ESPN NFL
More information Parameter, Description ...
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as 15994/theo-riddick in https://www.espn.com/nfl/player/stats/_/id/15994/theo-riddick or 15994 in https://www.espn.com/nfl/player/stats/_/id/15994. This parameter is optional if Wikidata property P3686 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 |
Close
See also
- Other NFL external link templates
- {{Footballstats}}
- Other ESPN external link templates
- {{ESPN FC}}
- {{ESPN MMA}}
- {{ESPN Tennis}}
- {{ESPNcricinfo}}
- {{ESPNscrum}}
External link
The above documentation is transcluded from Template:ESPN NFL/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.