Template:Futsal Planet

From blackwiki
Revision as of 03:32, 14 January 2019 by imported>Zyxw (Fixes for empty id/name parameters. Remove {{Trim|}} since {{#if:}} does same. If Wikidata property has multiple values, only use first one.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{name}}} at Futsal Planet

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

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:Futsal Planet displays an external link to a futsal player's page at the Futsal Planet website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property P3664:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

http://www.futsalplanet.com/gallery/gallery-02.asp?PerId=163 (archive)

Usage:

Template:Tlcw

Output:

Vahid Shamsaee at Futsal PlanetScript error: No such module "EditAtWikidata".

Named parameters

URL:

http://www.futsalplanet.com/gallery/gallery-02.asp?PerId=2062 (archive)

Usage:

Template:Tlcw

Output:

Mostafa Nazari at Futsal PlanetScript error: No such module "EditAtWikidata".

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

Template:PAGENAMEBASE at Futsal PlanetScript error: No such module "EditAtWikidata".

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 Futsal Planet

This template displays an external link to a futsal player's page at the Futsal Planet 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: 163 is the ID portion of http://www.futsalplanet.com/gallery/gallery-02.asp?PerId=163. This parameter is optional if Wikidata property P3664 exists, but required if not.

Default
Wikidata property P3664
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 "(futsal)".

Default
{{PAGENAMEBASE}}
Stringoptional