Template:Cagematch

From Wikipedia, the free encyclopedia
Jump to: navigation, search

{{{name}}} at Cagematch.net

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

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[edit]

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 }}

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error 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

Parameter Description Type Status
id id1

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
Example
empty
Auto value
empty
Number optional
name name2

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}}
Example
empty
Auto value
empty
String optional

Examples[edit]

Unnamed parameters[edit]

URL:

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

Usage:

{{Cagematch | 504 | Hulk Hogan }}

Output:

Hulk Hogan at Cagematch.net

Named parameters[edit]

URL:

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

Usage:

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

Output:

John Cena at Cagematch.net

No parameters and Wikidata property not defined[edit]

Usage:

{{Cagematch}}

Output:

{{Cagematch}} template missing ID and not present in Wikidata.

See also[edit]