Template:NFT player/doc

From Wikipedia, the free encyclopedia

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 }}
Using Wikidata property P2574
{{NFT player}}
{{NFT player | 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 | id = 2456 }}
ID with name
* {{NFT player | 2456/Zinedine_Zidane | Zinedine Zidane }}
* {{NFT player | id = 2456 | name = Zinedine Zidane }}
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/doc". National Football Teams. Benjamin Strack-Zimmermann. Retrieved 17 August 2014.
{{NFT player | id = 11881 | access-date = 17 August 2014 }}
"NFT player/doc". 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]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:NFT player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
Player ID1 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.

Default
Wikidata property P2574
Numberoptional
Player Name2 name

Name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional
Access Dateaccess-date

Date that the URL was accessed. If specified, the output is formatted as a web citation.

Dateoptional
Citationcitation

If a value is given, the output is formatted as a web citation. Useful when a citation is needed without an access date.

Stringoptional

Tracking categories[edit]

template with ID
ID is converted to numeric value before comparison with Wikidata
11881/Brad_Davis → 11881
11881 → 11881
template missing ID

See also[edit]

Association football external link templates which convert ID to number before Wikidata comparison