Jump to content

Template:WWE superstar/doc

From Wikipedia, the free encyclopedia

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

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

[edit]

Unnamed parameters

[edit]
URL
https://www.wwe.com/superstars/cmpunk
Usage
* {{WWE superstar | cmpunk | CM Punk }}
Output

Named parameters

[edit]
URL
https://www.wwe.com/superstars/jesseventura
Usage
* {{WWE superstar |id= jesseventura |name= Jesse Ventura |link= no }}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{WWE superstar}}
Output
  • {{WWE superstar}} 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:WWE superstar in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P2857
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
linklink

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".

Stringoptional