Template:Cagematch/doc
This is a documentation subpage for Template:Cagematch. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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:
Usage:
{{Cagematch | 504 | Hulk Hogan }}
Output:
- Hulk Hogan at Cagematch.net
Named parameters
[edit]URL:
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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |
See also
[edit]