Template:Beach Volleyball Database/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

Template:Beach Volleyball Database displays an external link to a beach volleyball player's profile at the Beach Volleyball Database website (bvbinfo.com). It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{Beach Volleyball Database | ID }}
{{Beach Volleyball Database | ID | NAME }}
Named parameters
{{Beach Volleyball Database | id= ID }}
{{Beach Volleyball Database | id= ID | name= NAME }}
Using Wikidata property Template:WPL
{{Beach Volleyball Database}}
{{Beach Volleyball Database | name= NAME }}

Examples

Unnamed parameters

URL
http://www.bvbinfo.com/player.asp?ID=14304
Usage
* {{Beach Volleyball Database | 14304 | Sarah Pavan }}
Output

Named parameters

URL
http://www.bvbinfo.com/player.asp?ID=5214
Usage
* {{Beach Volleyball Database | id= 5214 | name= Phil Dalhausser }}
Output

No parameters and Wikidata property not defined

Usage
* {{Beach Volleyball Database}}
Output

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 Beach Volleyball Database

This template displays an external link to a beach volleyball player's profile at the Beach Volleyball Database website (bvbinfo.com). 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: 14304 is the ID portion of http://www.bvbinfo.com/player.asp?ID=14304. This parameter is optional if Wikidata property P2800 exists, but required if not.

Default
Wikidata property P2800
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 volleyball player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(volleyball)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links