Template:FootballDatabase.eu/doc

From Wikipedia, the free encyclopedia

Template:FootballDatabase.eu displays an external link to an association football (soccer) player's statistics at the FootballDatabase.eu website. It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters
{{FootballDatabase.eu | ID }}
{{FootballDatabase.eu | ID | NAME }}
Named parameters
{{FootballDatabase.eu | id= ID }}
{{FootballDatabase.eu | id= ID | name= NAME }}
Using Wikidata property FootballDatabase.eu person ID (P3537)
{{FootballDatabase.eu}}
{{FootballDatabase.eu | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

Usage
* {{FootballDatabase.eu | 2306-roberto-baggio | Roberto Baggio }}
* {{FootballDatabase.eu | 2306 | Roberto Baggio }}
* {{FootballDatabase.eu | roberto.baggio.2306 | Roberto Baggio }}
Output
URLs in template (English)
https://www.footballdatabase.eu/en/player/details/2306-roberto-baggio (current)
https://www.footballdatabase.eu/en/player/details/2306 (redirects to current)
https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.en.html (redirects to current)
URLs for pages in French
https://www.footballdatabase.eu/fr/joueur/details/2306-roberto-baggio (current)
https://www.footballdatabase.eu/fr/joueur/details/2306 (redirects to current)
https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.fr.html (redirects to current)
URLs for pages in Spanish
https://www.footballdatabase.eu/es/jugador/detalles/2306-roberto-baggio (current)
https://www.footballdatabase.eu/es/jugador/detalles/2306 (redirects to current)
https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.es.html (redirects to current)

Named parameters[edit]

Usage
* {{FootballDatabase.eu | id= 415--cafu | name= Cafu }}
* {{FootballDatabase.eu | id= 415 | name= Cafu }}
* {{FootballDatabase.eu | id= .cafu.415 | name= Cafu }}
Output
  • Cafu at FootballDatabase.eu
  • Cafu at FootballDatabase.eu
  • Cafu at FootballDatabase.eu
URLs in template (English)
https://www.footballdatabase.eu/en/player/details/415--cafu (current)
https://www.footballdatabase.eu/en/player/details/415 (redirects to current)
https://www.footballdatabase.eu/football.joueurs..cafu.415.en.html (redirects to current)
URLs for pages in French
https://www.footballdatabase.eu/fr/joueur/details/415--cafu (current)
https://www.footballdatabase.eu/fr/joueur/details/415 (redirects to current)
https://www.footballdatabase.eu/football.joueurs..cafu.415.fr.html (redirects to current)
URLs for pages in Spanish
https://www.footballdatabase.eu/es/jugador/detalles/415--cafu (current)
https://www.footballdatabase.eu/es/jugador/detalles/415 (redirects to current)
https://www.footballdatabase.eu/football.joueurs..cafu.415.es.html (redirects to current)

No parameters and Wikidata property not defined[edit]

Usage
* {{FootballDatabase.eu}}
Output

TemplateData[edit]

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

TemplateData for FootballDatabase.eu

This template displays an external link to an association football (soccer) player's statistics at the FootballDatabase.eu website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as 2306-roberto-baggio in https://www.footballdatabase.eu/en/player/details/2306-roberto-baggio, 2306 in https://www.footballdatabase.eu/en/player/details/2306, or roberto.baggio.2306 in https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.en.html. This parameter is optional if Wikidata property P3537 exists, but required if not.

Default
Wikidata property P3537
Stringoptional
Namename 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 "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

template with ID
ID is converted to numeric value before comparison with Wikidata
2306-roberto-baggio → 2306
roberto.baggio.2306 → 2306
template missing ID

See also[edit]

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