Jump to content

Template:Cagematch/doc

From Wikipedia, the free encyclopedia

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

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.

TemplateData

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

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

[edit]