Template:WorldFootball.net

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

{{{name}}} at WorldFootball.net

Template documentation[view] [edit] [history] [purge]

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 documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

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
idid1

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
Example
empty
Auto value
empty
Stringoptional
namename2

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}}
Example
empty
Auto value
empty
Stringoptional

Tracking categories[change source]

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

External links[change source]