Template:WorldFootball.net/doc
This is a documentation subpage for Template:WorldFootball.net. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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:
Usage:
{{WorldFootball.net | gregory-van-der-wiel | Gregory van der Wiel }}
Output:
- Gregory van der Wiel at WorldFootball.net
Named parameters[change source]
URL:
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]
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| String | optional |
name | name 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)".
| String | optional |
Tracking categories[change source]
- "id" parameter exists
- Category:WorldFootball.net template with ID same as Wikidata (0)
- Category:WorldFootball.net template with ID not in Wikidata (0)
- Category:WorldFootball.net template with ID different from Wikidata (0)
- "id" parameter does not exist
- Category:WorldFootball.net template using Wikidata (0)
- Category:WorldFootball.net template missing ID and not in Wikidata (0)
External links[change source]
- Search page at WorldFootball.net