Template:Cagematch

From blackwiki
Jump to navigation Jump to search

{{{name}}} at Cagematch.net

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:Cagematch displays an external link to a professional wrestler's profile at Cagematch.net. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{Cagematch | ID }}
{{Cagematch | ID | NAME }}

Named parameters:

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

Using Wikidata property P2728:

{{Cagematch}}
{{Cagematch | name= NAME }}

Examples

Unnamed parameters

URL:

http://www.cagematch.net/?id=2&nr=504

Usage:

{{Cagematch | 504 | Hulk Hogan }}

Output:

Hulk Hogan at Cagematch.netScript error: No such module "EditAtWikidata".

Named parameters

URL:

http://www.cagematch.net/?id=2&nr=691

Usage:

{{Cagematch |id= 691 |name= John Cena }}

Output:

John Cena at Cagematch.netScript error: No such module "EditAtWikidata".

No parameters and Wikidata property not defined

Usage:

{{Cagematch}}

Output:

Template:PAGENAMEBASE at Cagematch.netScript 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 Cagematch

This template displays an external link to a professional wrestler's profile at Cagematch.net. 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: 504 is the ID portion of http://www.cagematch.net/?id=2&nr=504. This parameter is optional if Wikidata property P2728 exists, but required if not.

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

Default
{{PAGENAMEBASE}}
Stringoptional

See also