Jump to content

Template:BDFA/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m access-date +
Line 20: Line 20:
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> }}
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> }}


=== Citation with accessdate ===
=== Citation with access-date ===
; 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> | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | access-date {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</var> | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</var> | access-date {{=}} <var>DATE</var> }}


; ID with name
; ID with name
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | access-date {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</var> | name {{=}} <var>NAME</var> | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</var> | name {{=}} <var>NAME</var> | access-date {{=}} <var>DATE</var> }}


; Using Wikidata property P6188
; Using Wikidata property P6188
: {{tlcw|{{BASEPAGENAME}} | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | access-date {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> | accessdate {{=}} <var>DATE</var> }}
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> | access-date {{=}} <var>DATE</var> }}


==Examples==
==Examples==
Line 52: Line 52:
: <kbd>http://<nowiki/>bdfa.com.ar/jugador.asp?codigo={{hilite|42110}}</kbd>
: <kbd>http://<nowiki/>bdfa.com.ar/jugador.asp?codigo={{hilite|42110}}</kbd>


=== As citation with accessdate ===
=== As citation with access-date ===
; Usage
; Usage
: {{tlcw|{{BASEPAGENAME}} | 2815 | Nestor Subiat | accessdate {{=}} 2018-05-28 }}
: {{tlcw|{{BASEPAGENAME}} | 2815 | Nestor Subiat | access-date {{=}} 2018-05-28 }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} 2815 | name {{=}} Nestor Subiat | accessdate {{=}} 2018-05-28 }}
: {{tlcw|{{BASEPAGENAME}} | id {{=}} 2815 | name {{=}} Nestor Subiat | access-date {{=}} 2018-05-28 }}


; Output
; Output
: {{{{BASEPAGENAME}} | id = 2815 | name = Nestor Subiat | accessdate = 2018-05-28 }}
: {{{{BASEPAGENAME}} | id = 2815 | name = Nestor Subiat | access-date = 2018-05-28 }}


; Current URLs
; Current URLs
Line 98: Line 98:
"default": "{{PAGENAMEBASE}}"
"default": "{{PAGENAMEBASE}}"
},
},
"accessdate": {
"access-date": {
"label": "Access Date",
"label": "Access Date",
"aliases": ["accessdate"],
"description": "Date that the URL was accessed.",
"description": "Date that the URL was accessed.",
"type": "date",
"type": "date",
Line 108: Line 109:
"1",
"1",
"2",
"2",
"accessdate"
"access-date"
]
]
}
}

Revision as of 02:51, 29 November 2021

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

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 P6188
{{BDFA}}
{{BDFA | name = NAME }}

Citation with access-date

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 P6188
{{BDFA | access-date = DATE }}
{{BDFA | name = NAME | access-date = DATE }}

Examples

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

As citation with access-date

Usage
{{BDFA | 2815 | Nestor Subiat | access-date = 2018-05-28 }}
{{BDFA | id = 2815 | name = Nestor Subiat | access-date = 2018-05-28 }}
Output
"Nestor Subiat". BDFA (in Spanish). Retrieved 2018-05-28.
Current URLs
https://www.bdfa.com.ar/jugadores-2815.html
https://www.bdfa.com.ar/jugadores-NESTOR-SUBIAT-2815.html
https://www.bdfa.com.ar/jugador.asp?codigo=2815
Former URLs
http://www.bdfa.com.ar/jugador2.asp?codigo=2815 (archive)
http://bdfa.com.ar/jugador.asp?codigo=2815 (archive)

No parameters and Wikidata property not defined

Usage
* {{BDFA}}
Output
  • {{BDFA}} template missing ID and not present in Wikidata.

TemplateData

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
Player ID1 id

ID portion of the URL for player's profile at BDFA.com.ar. Example: 42110 is the ID portion of https://www.bdfa.com.ar/jugadores-42110.html, https://www.bdfa.com.ar/jugadores-EMILIANO-GABRIEL-VECCHIO-42110.html, or 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
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 accessdate

Date that the URL was accessed.

Dateoptional