Template:BDFutbol/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

Template:BDFutbol displays an external link to an association football (soccer) player's profile at BDFutbol.com.

Usage

Unnamed parameters
{{BDFutbol | ID }}
{{BDFutbol | ID | NAME }}
Named parameters
{{BDFutbol | id= ID }}
{{BDFutbol | id= ID | name= NAME }}
{{BDFutbol | id= ID | name= NAME | accessdate= ACCESS DATE }}
Using Wikidata property P3655
{{BDFutbol}}
{{BDFutbol | name= NAME }}

Examples

Unnamed parameters

URL
http://www.bdfutbol.com/en/j/j1753.html
Usage
{{BDFutbol | 1753 | Lionel Messi }}
Output
Lionel Messi at BDFutbolScript error: No such module "EditAtWikidata".Template:WikidataCheck

Named parameters

URL
http://www.bdfutbol.com/en/j/j1213.html
Usage
{{BDFutbol | id= 1213 | name= Javier Saviola | accessdate= 20 August 2023 }}
Output
Javier Saviola at BDFutbol. Retrieved 20 August 2023.Script error: No such module "EditAtWikidata".Template:WikidataCheck

No parameters and Wikidata property not defined

Usage
{{BDFutbol}}
Output
Template:PAGENAMEBASE at BDFutbolScript error: No such module "EditAtWikidata".Template:WikidataCheck

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for BDFutbol

This template displays an external link to an association football (soccer) player's profile at BDFutbol.com.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 1753 is the ID portion of http://www.bdfutbol.com/en/j/j1753.html. This parameter is optional if Wikidata property P3655 exists, but required if not.

Default
Wikidata property P3655
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the 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
accessdateaccessdate

The "accessdate" parameter may be used to specify the date when the player's page was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional.

Dateoptional

Tracking categories

ID parameter exists
ID parameter does not exist

See also