Template:Elitefootball/doc

From blackwiki
< Template:Elitefootball
Revision as of 07:22, 23 September 2018 by imported>Zyxw (create documentation with examples, TemplateData, and categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

Unnamed parameters
{{Elitefootball | ID }}
{{Elitefootball | ID | NAME }}
Named parameters
{{Elitefootball | id= ID }}
{{Elitefootball | id= ID | name= NAME }}
{{Elitefootball | id= ID | name= NAME | accessdate= ACCESS DATE }}

Examples

Unnamed parameters

URL
http://www.elitefootball.com/player/mihlali-mabhuti-mayambela/38405
Usage
{{Elitefootball | mihlali-mabhuti-mayambela/38405 | Mihlali Mayambela }}
Output
Mihlali Mayambela at Elite Football

Named parameters

URL
http://www.elitefootball.com/player/martin-lorentzson/68
Usage
{{Elitefootball | id= martin-lorentzson/68 | name= Martin Lorentzson | accessdate= 6 December 2025 }}
Output
Martin Lorentzson at Elite Football. Retrieved 6 December 2025.

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 Elitefootball

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

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: mihlali-mabhuti-mayambela/38405 is the ID portion of http://www.elitefootball.com/player/mihlali-mabhuti-mayambela/38405.

Stringrequired
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
access dateaccessdate

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

Dateoptional