Jump to content

Template:BDFA/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Tracking categories: update to match template
merge templates
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
{{Uses Wikidata|P6188}}
{{Template redirect|BDFA player}}
{{Tracks Wikidata|P6188}}
{{Tracks and uses Wikidata|P6188}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}


Line 8: Line 9:
==Usage==
==Usage==


=== External link ===
=== External links ===
; ID without name (uses Wikipedia article name as link text)
; ID without name (uses Wikipedia article name as link text)
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }}
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }}
Line 131: Line 132:


== See also ==
== See also ==
; Association football external link templates which convert ID to number before Wikidata comparison
* {{tl|ESPN FC}}
* {{braces|[[Template:BeSoccer#Tracking categories|BeSoccer]]}}
* {{tl|FootballDatabase.eu}}
* {{braces|[[Template:ESPN FC#Tracking categories|ESPN FC]]}}
* {{tl|FootballFacts.ru}}
* {{braces|[[Template:FootballDatabase.eu#Tracking categories|FootballDatabase.eu]]}}
* {{tl|GSA player}}
* {{braces|[[Template:FootballFacts.ru#Tracking categories|FootballFacts.ru]]}}
* {{tl|NFT player}}
* {{braces|[[Template:NFT player#Tracking categories|NFT player]]}}
* {{tl|Soccerway}}


== External links ==
== External links ==

Latest revision as of 09:01, 5 August 2024

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).

Usage

[edit]
[edit]
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]
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]
[edit]

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]

Nestor Subiat

Usage
{{BDFA | NESTOR-SUBIAT-2815 | Nestor Subiat | access-date= 27 September 2024 }}
{{BDFA | id= 2815 | name= Nestor Subiat | accessdate= 27 September 2024 }}
Output
"Nestor Subiat". BDFA (in Spanish). Retrieved 27 September 2024.
"Nestor Subiat". BDFA (in Spanish). Retrieved 27 September 2024.
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]
Usage
* {{BDFA}}
Output
  • {{BDFA}} 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: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]
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]
Association football external link templates which convert ID to number before Wikidata comparison
[edit]