Jump to content

Template:Rusbandy/doc

From Wikipedia, the free encyclopedia

Template:Rusbandy displays an external link to a bandy player's profile at the Rusbandy.ru, the official website of the Russian Bandy Federation. It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{Rusbandy | ID }}
{{Rusbandy | ID | NAME }}

Named parameters:

{{Rusbandy | id= ID }}
{{Rusbandy | id= ID | name= NAME }}

Using Wikidata property Russian Bandy Federation player ID (P3622):

{{Rusbandy}}
{{Rusbandy | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URL:

http://www.rusbandy.ru/gamer/2163

Usage:

{{Rusbandy | 2163 | Andreas Westh }}

Output:

Andreas Westh at the Russian Bandy Federation (in Russian)

Named parameters

[edit]

URL:

http://www.rusbandy.ru/gamer/2405

Usage:

{{Rusbandy | id= 2405 | name= Erik Pettersson }}

Output:

Erik Pettersson at the Russian Bandy Federation (in Russian)

No parameters and Wikidata property not defined

[edit]

Usage:

{{Rusbandy}}

Output:

{{Rusbandy}} 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:Rusbandy in articles based on its TemplateData.

TemplateData for Rusbandy

This template displays an external link to a bandy player's profile at the Rusbandy.ru, the official website of the Russian Bandy Federation. 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: 2163 is the ID portion of http://www.rusbandy.ru/gamer/2163. This parameter is optional if Wikidata property P3622 exists, but required if not.

Default
Wikidata property P3622
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 "(bandy)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
ID parameter exists
ID parameter does not exist

See also

[edit]