Template:FootballDatabase.eu/doc

From Simple English 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[change source]

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[change source]

Unnamed parameters[change source]

Usage:

* {{FootballDatabase.eu | 2306 | Roberto Baggio }}

Output:

Current URL:

https://www.footballdatabase.eu/en/player/details/2306-roberto-baggio

Former URL:

https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.en.html

Named parameters[change source]

Usage:

* {{FootballDatabase.eu | id= 415 | name= Cafu }}

Output:

  • Cafu at FootballDatabase.eu

Current URL:

https://www.footballdatabase.eu/en/player/details/415--cafu

Former URL:

https://www.footballdatabase.eu/football.joueurs..cafu.415.en.html

No parameters and Wikidata property not defined[change source]

Usage:

* {{FootballDatabase.eu}}

Output:

TemplateData[change source]

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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example of ID in current URL: 2306 is the ID portion of https://www.footballdatabase.eu/en/player/details/2306-roberto-baggio or 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
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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[change source]

template with ID
template missing ID