Template:EFA player/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata Template:Tracks Wikidata

Template:EFA player displays an external link to an association football (soccer) player's club career profile at Jalgpall.ee, the official website of the Estonian Football Association (in Estonian: Eesti Jalgpalli Liit; EJL). It is intended for use in the external links section of an article.

For national team profile, see {{EFA player2}}

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property P3659:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL (old)
http://www.jalgpall.ee/players.php?player=2307&name=Tarmo%20Neemelo
URL (new)
http://jalgpall.ee/voistlused/player/2307
Usage
Template:Tlcw
Output

Named parameters

URL (old)
http://www.jalgpall.ee/players.php?player=115&name=Konstantin%20Nahk
URL (new)
http://jalgpall.ee/voistlused/player/115
Usage
Template:Tlcw
Output

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

Instructions

  1. Go to the Estonian Football Association website and enter the player's name in the search box.
  2. On the search results page, click the correct link for the person's page. Be sure you're getting the right person.
  3. The page URL should look like http://jalgpall.ee/voistlused/player/####, where "####" is the ID number for the player.
  4. Add one of the following to the external links section of the player's Wikipedia article:
    * {{EFA player|id}}
    * {{EFA player|id|name}}
    where "id" is the player's ID number from the URL
    and "name" is the player's name. If the name is not specified, the template will display the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

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 EFA player

This template displays an external link to an association football (soccer) player's profile at Jalgpall.ee, the official website of the Estonian Football Association (in Estonian: Eesti Jalgpalli Liit; EJL). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter should contain the ID portion of player's URL. Examples: "2307" is the ID portion of http://jalgpall.ee/voistlused/player/2307. This parameter is optional if Wikidata property P3659 exists, but required if not.

Default
Wikidata property P3659
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

Tracking categories