Jump to content

Template:Futsal Planet/doc

From Wikipedia, the free encyclopedia

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

[edit]

Unnamed parameters:

{{Futsal Planet | ID }}
{{Futsal Planet | ID | NAME }}

Named parameters:

{{Futsal Planet | id= ID }}
{{Futsal Planet | id= ID | name= NAME }}

Using Wikidata property P3664:

{{Futsal Planet}}
{{Futsal Planet | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URL:

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

Usage:

{{Futsal Planet | 163 | Vahid Shamsaee }}

Output:

Vahid Shamsaee at Futsal Planet

Named parameters

[edit]

URL:

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

Usage:

{{Futsal Planet | id= 2062 | name= Mostafa Nazari }}

Output:

Mostafa Nazari at Futsal Planet

No parameters and Wikidata property not defined

[edit]

Usage:

{{Futsal Planet}}

Output:

{{Futsal Planet}} template missing ID and not present in Wikidata.

TemplateData

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

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