{{{name}}} at National-Football-Teams.com
This is the template sandbox page for Template:NFT player (diff). See also the companion subpage for test cases. |
This template is used on approximately 31,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Template:NFT player displays an external link or citation for an association football (soccer) player's statistics at National-Football-Teams.com.
Usage edit
External link edit
- ID without name (uses Wikipedia article name as link text)
{{NFT player | ID }}
{{NFT player | id = ID }}
- ID with name
{{NFT player | ID | NAME }}
{{NFT player | id = ID | name = NAME }}
Citation with access-date edit
- ID without name (uses Wikipedia article name as link text)
{{NFT player | ID | access-date = DATE }}
{{NFT player | id = ID | access-date = DATE }}
- ID with name
{{NFT player | ID | NAME | access-date = DATE }}
{{NFT player | id = ID | name = NAME | access-date = DATE }}
- Using Wikidata property P2574
{{NFT player | access-date = DATE }}
{{NFT player | name = NAME | access-date = DATE }}
Examples edit
As external link edit
- URLs
- https://www.national-football-teams.com/player/2456/Zinedine_Zidane.html
- https://www.national-football-teams.com/player/2456.html (redirects to URL above)
- ID without name (uses Wikipedia article name as link text)
* {{NFT player | 2456/Zinedine_Zidane }}
- NFT player/sandbox at National-Football-Teams.com
* {{NFT player | id = 2456 }}
- NFT player/sandbox at National-Football-Teams.com
- ID with name
* {{NFT player | 2456/Zinedine_Zidane | Zinedine Zidane }}
- Zinedine Zidane at National-Football-Teams.com
* {{NFT player | id = 2456 | name = Zinedine Zidane }}
- Zinedine Zidane at National-Football-Teams.com
- Missing ID and Wikidata property not defined
* {{NFT player }}
- {{NFT player}} template missing ID and not present in Wikidata.
As citation with access-date edit
- URLs
- https://www.national-football-teams.com/player/11881/Brad_Davis.html
- https://www.national-football-teams.com/player/11881.html (redirects to URL above)
- ID without name (uses Wikipedia article name as link text)
{{NFT player | 11881/Brad_Davis | accessdate = 17 August 2014 }}
- "NFT player/sandbox". National Football Teams. Benjamin Strack-Zimmermann. Retrieved 17 August 2014.
{{NFT player | id = 11881 | access-date = 17 August 2014 }}
- "NFT player/sandbox". National Football Teams. Benjamin Strack-Zimmermann. Retrieved 17 August 2014.
- ID with name
{{NFT player | 11881/Brad_Davis | Brad Davis | accessdate = 2014-08-17 }}
- "Brad Davis". National Football Teams. Benjamin Strack-Zimmermann. Retrieved 2014-08-17.
{{NFT player | id = 11881 | name = Brad Davis | access-date = 2014-08-17 }}
- "Brad Davis". National Football Teams. Benjamin Strack-Zimmermann. Retrieved 2014-08-17.
- Citation without date
{{NFT player | 11881/Brad_Davis | Brad Davis | citation = yes }}
- "Brad Davis". National Football Teams. Benjamin Strack-Zimmermann.
{{NFT player | id = 11881 | name = Brad Davis | citation = yes }}
- "Brad Davis". National Football Teams. Benjamin Strack-Zimmermann.
- Missing ID and Wikidata property not defined
{{NFT player | access-date = 2014-08-17 }}
- {{NFT player}} template missing ID and not present in Wikidata.
TemplateData edit
TemplateData for NFT player
This template displays an external link or citation for an association football (soccer) player's statistics at National-Football-Teams.com.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player ID | 1 id pid | ID portion of the URL for player's profile at National-Football-Teams.com. Example: 2456 is the ID portion of https://www.national-football-teams.com/player/2456.html or https://www.national-football-teams.com/player/2456/Zinedine_Zidane.html. This parameter is optional if Wikidata property P2574 exists, but required if not.
| Number | optional |
Player Name | 2 name | Name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
Access Date | access-date | Date that the URL was accessed. If specified, the output is formatted as a web citation. | Date | optional |
Citation | citation | If a value is given, the output is formatted as a web citation. Useful when a citation is needed without an access date. | String | optional |
Tracking categories edit
- template with ID
- ID is converted to numeric value before comparison with Wikidata
- 11881/Brad_Davis → 11881
- 11881 → 11881
- Category:NFT template with ID different from Wikidata (109)
- Category:NFT template with ID not in Wikidata (2,007)
- template missing ID
See also edit
- Association football external link templates which convert ID to number before Wikidata comparison
- {{BDFA}}
- {{BeSoccer}}
- {{ESPN FC}}
- {{FootballDatabase.eu}}
- {{FootballFacts.ru}}