Difference between revisions of "Template:BDFA"
imported>Zyxw (use https to avoid redirect at website) |
imported>Zyxw (If no ID provided, use Wikidata property if available.) |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P6188}} |
| − | | [https://www.bdfa.com.ar/jugadores-{{ | + | | [https://www.bdfa.com.ar/jugadores-{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P6188}}|sep=,}} }}.html {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at BDFA {{in lang|es}}{{#if:{{{accessdate|}}}|. Retrieved {{{accessdate}}}.}}<includeonly>{{EditAtWikidata|pid=P6188|{{{1|{{{id|}}}}}}}}</includeonly> |
| − | | <span class="error">{{[[Template:BDFA|BDFA]]}} template missing ID.</span> | + | | <span class="error">{{[[Template:BDFA|BDFA]]}} template missing ID and not present in Wikidata.</span> |
}}<noinclude> | }}<noinclude> | ||
| − | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | + | {{Documentation}} |
| + | <!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:00, 5 March 2020
{{{name}}} at BDFA (in Spanish)
Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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).
Contents
Usage
External link
- ID without name (uses Wikipedia article name as link text)
- Template:Tlcw
- Template:Tlcw
- ID with name
- Template:Tlcw
- Template:Tlcw
- Using Wikidata property P6188
- Template:Tlcw
- Template:Tlcw
Citation with accessdate
- ID without name (uses Wikipedia article name as link text)
- Template:Tlcw
- Template:Tlcw
- ID with name
- Template:Tlcw
- Template:Tlcw
- Using Wikidata property P6188
- Template:Tlcw
- Template:Tlcw
Examples
As external link
- Usage
- Template:Tlcw
- Template:Tlcw
- Output
-
- Emiliano Gabriel Vecchio at BDFA (in Spanish)Script error: No such module "EditAtWikidata".
- 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 accessdate
- Usage
- Template:Tlcw
- Template:Tlcw
- Output
- Nestor Subiat at BDFA (in Spanish). Retrieved 2018-05-28.Script error: No such module "EditAtWikidata".
- 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
- Template:Tlcw
- Output
-
- Template:PAGENAMEBASE at BDFA (in Spanish)Script error: No such module "EditAtWikidata".
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 | accessdate | Date that the URL was accessed. | Date | optional |
External links
- Search page at BDFA.com.ar (in Spanish)
| The above documentation is transcluded from Template:BDFA/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |