Template:BDFA/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:BDFA displays an external link or citation to an association football (soccer) player's page at BDFA.com.ar (Base de Datos del Futbol Argentino).

[edit source]
ID without name (uses Wikipedia article name as link text)
{{BDFA | ID }}
{{BDFA | id = ID }}
ID with name
{{BDFA | ID | NAME }}
{{BDFA | id = ID | name = NAME }}
Using Wikidata property
{{BDFA}}
{{BDFA | name = NAME }}

Citation with access-date

[edit source]

When |access-date= is set, the template generates a citation using {{cite web}}. In this case, any parameter that is accepted by {{cite web}} is also accepted in this template, except for |url=, |work=, and |language=.

ID without name (uses Wikipedia article name as link text)
{{BDFA | ID | access-date = DATE }}
{{BDFA | id = ID | access-date = DATE }}
ID with name
{{BDFA | ID | NAME | access-date = DATE }}
{{BDFA | id = ID | name = NAME | access-date = DATE }}
Using Wikidata property
{{BDFA | access-date = DATE }}
{{BDFA | name = NAME | access-date = DATE }}

Examples

[edit source]
[edit source]

Emiliano Vecchio

Usage
* {{BDFA | EMILIANO-GABRIEL-VECCHIO-42110 | Emiliano Vecchio }}
* {{BDFA | id = 42110 | name = Emiliano Vecchio }}
Output
Current URLs
https://www.bdfa.com.ar/jugadores-EMILIANO-GABRIEL-VECCHIO-42110.html
https://www.bdfa.com.ar/jugadores-42110.html
Former URLs
https://www.bdfa.com.ar/jugador.asp?codigo=42110 (archive 2021-08-25)
http://www.bdfa.com.ar/jugador2.asp?codigo=42110 (archive 2011-04-29)

As citation with access-date

[edit source]

Nestor Subiat

Usage
{{BDFA | NESTOR-SUBIAT-2815 | Nestor Subiat | access-date= 8 July 2026 }}
{{BDFA | id= 2815 | name= Nestor Subiat | accessdate= 8 July 2026 }}
Output
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Current URLs
https://www.bdfa.com.ar/jugadores-NESTOR-SUBIAT-2815.html
https://www.bdfa.com.ar/jugadores-2815.html
Former URLs
https://www.bdfa.com.ar/jugador.asp?codigo=2815 (archive 2021-08-25)
http://www.bdfa.com.ar/jugador2.asp?codigo=2815 (archive 2012-03-14)

No parameters and Wikidata property not defined

[edit source]
Usage
* {{BDFA}}
Output
  • BDFA/doc at BDFA (in Spanish)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

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

TemplateData for BDFA

This template displays an external link or citation to an association football (soccer) player's page at BDFA.com.ar (Base de Datos del Futbol Argentino).

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID portion of the URL such as EMILIANO-GABRIEL-VECCHIO-42110 in https://www.bdfa.com.ar/jugadores-EMILIANO-GABRIEL-VECCHIO-42110.html or 42110 in https://www.bdfa.com.ar/jugadores-42110.html and https://www.bdfa.com.ar/jugador.asp?codigo=42110. This parameter is optional if Wikidata property P6188 exists, but required if not.

Default
Wikidata property P6188
Stringoptional
Namename 2

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 accessdate

Date that the URL was accessed.

Dateoptional

Tracking categories

[edit source]
template with ID
ID is converted to numeric value before comparison with Wikidata
EMILIANO-GABRIEL-VECCHIO-42110 → 42110
MARCELO-CA%C3%91ETE-81773 → 81773
42110 → 42110
template missing ID

See also

[edit source]
Association football external link templates which convert ID to number before Wikidata comparison
[edit source]