Template:WWE superstar
{{{name}}} on WWE.com
This template uses Lua: |
Template:WWE superstar displays an external link to a professional wrestler's profile on the WWE website (www.wwe.com). It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{WWE superstar | ID }}
{{WWE superstar | ID | NAME }}
{{WWE superstar | ID | NAME | link= yes/no }}
- Named parameters
{{WWE superstar | id= ID }}
{{WWE superstar | id= ID | name= NAME }}
{{WWE superstar | id= ID | name= NAME | link= yes/no }}
- Using Wikidata property
{{WWE superstar}}
{{WWE superstar | name= NAME }}
{{WWE superstar | name= NAME | link= yes/no }}
Examples
Unnamed parameters
- Usage
* {{WWE superstar | cmpunk | CM Punk }}
Named parameters
- Usage
* {{WWE superstar |id= jesseventura |name= Jesse Ventura |link= no }}
- Output
-
- Jesse Ventura on WWE
No parameters and Wikidata property not defined
- Usage
* {{WWE superstar}}
- Output
-
- {{WWE superstar}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for WWE superstar
This template displays an external link to a professional wrestler's profile on the WWE website (www.wwe.com). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, such as cmpunk in http://www.wwe.com/superstars/cmpunk. This parameter is optional if Wikidata property P2857 exists, but required if not.
| String | optional |
name | name 2 | The link text, which should be the name of the professional wrestler. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(wrestler)".
| String | optional |
link | link | The "link" parameter may be used to prevent a wiki-link from being added to the WWE text displayed after the external link. Normally this text is "on [[WWE]].com", but if link=no it is "on WWE". | String | optional |