Template:BDFA/doc: Difference between revisions
m →External links: update |
m access-date + |
||
Line 20: | Line 20: | ||
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> }} |
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</var> }} |
||
=== Citation with |
=== 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> | |
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | access-date {{=}} <var>DATE</var> }} |
||
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</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> | |
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | access-date {{=}} <var>DATE</var> }} |
||
: {{tlcw|{{BASEPAGENAME}} | id {{=}} <var>ID</var> | name {{=}} <var>NAME</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}} | |
: {{tlcw|{{BASEPAGENAME}} | access-date {{=}} <var>DATE</var> }} |
||
: {{tlcw|{{BASEPAGENAME}} | name {{=}} <var>NAME</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 |
=== As citation with access-date === |
||
; Usage |
; Usage |
||
: {{tlcw|{{BASEPAGENAME}} | 2815 | Nestor Subiat | |
: {{tlcw|{{BASEPAGENAME}} | 2815 | Nestor Subiat | access-date {{=}} 2018-05-28 }} |
||
: {{tlcw|{{BASEPAGENAME}} | id {{=}} 2815 | name {{=}} Nestor Subiat | |
: {{tlcw|{{BASEPAGENAME}} | id {{=}} 2815 | name {{=}} Nestor Subiat | access-date {{=}} 2018-05-28 }} |
||
; Output |
; Output |
||
: {{{{BASEPAGENAME}} | id = 2815 | name = Nestor Subiat | |
: {{{{BASEPAGENAME}} | id = 2815 | name = Nestor Subiat | access-date = 2018-05-28 }} |
||
; Current URLs |
; Current URLs |
||
Line 98: | Line 98: | ||
"default": "{{PAGENAMEBASE}}" |
"default": "{{PAGENAMEBASE}}" |
||
}, |
}, |
||
" |
"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", |
||
" |
"access-date" |
||
] |
] |
||
} |
} |
Revision as of 02:51, 29 November 2021
This is a documentation subpage for Template:BDFA. It may contain usage information, categories and other content that is not part of the original template page. |
- BDFA player ID (P6188) (see uses)
This template uses Lua: |
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
External link
- 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 }}
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
As external link
- Usage
* {{BDFA | 42110 | Emiliano Gabriel Vecchio }}
* {{BDFA | id = 42110 | name = Emiliano Gabriel Vecchio }}
- Output
-
- Emiliano Gabriel Vecchio at BDFA (in Spanish)
- 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
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player ID | 1 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.
| Number | optional |
Player Name | 2 name | Name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
Access Date | access-date accessdate | Date that the URL was accessed. | Date | optional |
External links
- Search page at BDFA.com.ar (in Spanish)