Difference between revisions of "Template:Futbolme/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (update examples)
imported>Zyxw
m (note Wikidata property, update examples)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 +
{{Wikidata property|P7399}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [http://www.futbolme.com/ Futbolme.com].  It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [http://www.futbolme.com/ Futbolme.com].  It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
Line 16: Line 17:
  
 
=== Unnamed parameters ===
 
=== Unnamed parameters ===
 +
; Usage
 +
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 14664 | Dani Gail (Daniel Gail Bricios) }}</code>
 +
 +
; Output
 +
:* {{{{BASEPAGENAME}} | 14664 | Dani Gail (Daniel Gail Bricios) }}
 +
 
; URLs
 
; URLs
 
: <kbd>[https://futbolme.com/jugador.php?id=14664 https://futbolme.com/jugador.php?id={{Hilite|14664}}]</kbd>
 
: <kbd>[https://futbolme.com/jugador.php?id=14664 https://futbolme.com/jugador.php?id={{Hilite|14664}}]</kbd>
 
: <kbd>[https://futbolme.com/resultados-directo/jugador/dani-gail/14664 https://futbolme.com/resultados-directo/jugador/dani-gail/{{Hilite|14664}}]</kbd>
 
: <kbd>[https://futbolme.com/resultados-directo/jugador/dani-gail/14664 https://futbolme.com/resultados-directo/jugador/dani-gail/{{Hilite|14664}}]</kbd>
  
 +
=== Named parameters ===
 
; Usage
 
; Usage
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | 14664 | Dani Gail (Daniel Gail Bricios) }}</code>
+
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}</code>
  
 
; Output
 
; Output
: {{{{BASEPAGENAME}} | 14664 | Dani Gail (Daniel Gail Bricios) }}
+
:* {{{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
  
=== Named parameters ===
 
 
; URLs
 
; URLs
 
: <kbd>[https://futbolme.com/jugador.php?id=15301 https://futbolme.com/jugador.php?id={{Hilite|15301}}]</kbd>
 
: <kbd>[https://futbolme.com/jugador.php?id=15301 https://futbolme.com/jugador.php?id={{Hilite|15301}}]</kbd>
 
: <kbd>[https://futbolme.com/resultados-directo/jugador/roldan/15301 https://futbolme.com/resultados-directo/jugador/roldan/{{Hilite|15301}}]</kbd>
 
: <kbd>[https://futbolme.com/resultados-directo/jugador/roldan/15301 https://futbolme.com/resultados-directo/jugador/roldan/{{Hilite|15301}}]</kbd>
 
; Usage
 
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}</code>
 
 
; Output
 
: {{{{BASEPAGENAME}} | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
 
  
 
=== No parameters ===
 
=== No parameters ===
 
; Usage
 
; Usage
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}}}</code>
+
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}}}</code>
  
 
; Output
 
; Output
: {{ {{BASEPAGENAME}} }}
+
:* {{ {{BASEPAGENAME}} }}
  
 
== TemplateData ==
 
== TemplateData ==

Revision as of 06:43, 24 March 2020

Template:Wikidata property

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

Usage
* {{Futbolme | 14664 | Dani Gail (Daniel Gail Bricios) }}
Output
URLs
https://futbolme.com/jugador.php?id=14664
https://futbolme.com/resultados-directo/jugador/dani-gail/14664

Named parameters

Usage
* {{Futbolme | id= 15301 | name= Roldán (Antonio Gómez Roldán) }}
Output
URLs
https://futbolme.com/jugador.php?id=15301
https://futbolme.com/resultados-directo/jugador/roldan/15301

No parameters

Usage
* {{Futbolme}}
Output

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