Difference between revisions of "Template:Futbolme/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update examples)
imported>Zyxw
m (update examples)
Line 36: Line 36:
 
; Output
 
; Output
 
: {{{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
 
: {{{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
 +
 +
=== No parameters ===
 +
; Usage
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}}}</code>
 +
 +
; Output
 +
: {{ {{BASEPAGENAME}} }}
  
 
== TemplateData ==
 
== TemplateData ==

Revision as of 06:32, 24 March 2020

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

Usage

Unnamed parameters
{{Futbolme | ID }}
{{Futbolme | ID | NAME }}
Named parameters
{{Futbolme | id= ID }}
{{Futbolme | id= ID | name= NAME }}

Examples

Unnamed parameters

URLs
https://futbolme.com/jugador.php?id=14664
https://futbolme.com/resultados-directo/jugador/dani-gail/14664
Usage
{{Futbolme | 14664 | Dani Gail (Daniel Gail Bricios) }}
Output
Dani Gail (Daniel Gail Bricios) at Futbolme (in Spanish)Script error: No such module "EditAtWikidata".

Named parameters

URLs
https://futbolme.com/jugador.php?id=15301
https://futbolme.com/resultados-directo/jugador/roldan/15301
Usage
{{Futbolme | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
Output
Roldán (Antonio Gómez Roldán) at Futbolme (in Spanish)Script error: No such module "EditAtWikidata".

No parameters

Usage
{{Futbolme}}
Output
Template:PAGENAMEBASE at Futbolme (in Spanish)Script error: No such module "EditAtWikidata".

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 Futbolme

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

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 14664 is the ID portion of https://futbolme.com/jugador.php?id=14664 or https://futbolme.com/resultados-directo/jugador/dani-gail/14664.

Numberrequired
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

See also