Template:WorldFootball.net/doc

From Simple English Wikipedia, the free encyclopedia

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

Usage[change source]

Unnamed parameters:

{{WorldFootball.net | ID }}
{{WorldFootball.net | ID | NAME }}

Named parameters:

{{WorldFootball.net | id= ID }}
{{WorldFootball.net | id= ID | name= NAME }}

Using Wikidata property P2020:

{{WorldFootball.net}}
{{WorldFootball.net | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

URL:

http://www.worldfootball.net/player_summary/gregory-van-der-wiel/

Usage:

{{WorldFootball.net | gregory-van-der-wiel | Gregory van der Wiel }}

Output:

Gregory van der Wiel at WorldFootball.net

Named parameters[change source]

URL:

http://www.worldfootball.net/player_summary/kaka_2/

Usage:

{{WorldFootball.net | id= kaka_2 | name= Kaká }}

Output:

Kaká at WorldFootball.net

No parameters and Wikidata property not defined[change source]

Usage:

{{WorldFootball.net}}

Output:

{{WorldFootball.net}} template missing ID and not present in Wikidata.

TemplateData[change source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WorldFootball.net in articles based on its TemplateData.

TemplateData for WorldFootball.net

This template displays an external link to an association football (soccer) player's profile at the WorldFootball.net website. 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: gregory-van-der-wiel is the ID portion of http://www.worldfootball.net/player_summary/gregory-van-der-wiel/. This parameter is optional if Wikidata property P2020 exists, but required if not.

Default
Wikidata property P2020
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the player's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[change source]

"id" parameter exists
"id" parameter does not exist

External links[change source]