Template:BeSoccer/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 01:50, 11 April 2024 (update examples and TemplateData, add links to tracking categories, add Category:External link templates using Wikidata and Category:Templates that add a tracking category). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:BeSoccer displays an external link to an association football (soccer) player's profile at BeSoccer.com. It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{BeSoccer | ID }}
{{BeSoccer | ID | NAME }}
Named parameters
{{BeSoccer | id= ID }}
{{BeSoccer | id= ID | name= NAME }}
Using Wikidata property
{{BeSoccer}}
{{BeSoccer | name= NAME }}

Examples

Unnamed parameters

For Kazuyoshi Miura

Usage
* {{BeSoccer | 137485 | Kazuyoshi Miura }}
* {{BeSoccer | kazuyoshi-miura-137485 | Kazuyoshi Miura }}
Output
URLs in template
https://www.besoccer.com/player/137485
https://www.besoccer.com/player/kazuyoshi-miura-137485
Other URLS
https://es.besoccer.com/jugador/kazuyoshi-miura-137485 (in Spanish)
https://fr.besoccer.com/joueur/kazuyoshi-miura-137485 (in French)
https://it.besoccer.com/giocatore/kazuyoshi-miura-137485 (in Italian)
https://pt.besoccer.com/jogador/kazuyoshi-miura-137485 (in Portuguese)

Named parameters

For Fabián Saavedra

Usage
* {{BeSoccer | id= 132060 | name= Fabián Saavedra }}
* {{BeSoccer | id= f-saavedra-132060 | name= Fabián Saavedra }}
Output
Current URLs
https://www.besoccer.com/player/132060
https://www.besoccer.com/player/f-saavedra-132060
Former URL
http://www.besoccer.com/player/Fabian-Saavedra (archive 2011-09-05)

No parameters

Usage
* {{BeSoccer}}
Output
  • {{BeSoccer}} 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:BeSoccer in articles based on its TemplateData.

TemplateData for BeSoccer

This template displays an external link to an association football (soccer) player's profile at BeSoccer.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the player's URL, such as 137485 in https://www.besoccer.com/player/137485 or kazuyoshi-miura-137485 in https://www.besoccer.com/player/kazuyoshi-miura-137485.

Default
Wikidata property P12577
Stringoptional
namename 2

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

Tracking category

template with ID
ID is converted to numeric value before comparison with Wikidata
kazuyoshi-miura-137485 → 137485
137485 → 137485
20621 → 20621
template missing ID

See also

Association football external link templates which convert ID to number before Wikidata comparison