Jump to content

Template:Metacritic person/doc

From Wikipedia, the free encyclopedia

Template:Metacritic person displays an external link to a web page for person or group at the Metacritic website. It is intended for use in the external links section of an article.

For a film, use {{Metacritic film}}
For a television series or made-for-TV movie, use {{Metacritic television}}
For a music album, use {{Metacritic album}}
For a video game, use {{Metacritic video game}}

Usage

[edit]

Unnamed parameters:

{{Metacritic person | ID }}
{{Metacritic person | ID | TITLE }}

Named parameters:

{{Metacritic person | id= ID }}
{{Metacritic person | id= ID | name= NAME }}

Using Wikidata property Metacritic ID (P1712):

{{Metacritic person}}
{{Metacritic person | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URL:

https://www.metacritic.com/person/julia-louis-dreyfus

Usage:

* {{Metacritic person | julia-louis-dreyfus | Julia Louis-Dreyfus }}

Output:

Named parameters

[edit]

URL:

https://www.metacritic.com/person/the-beatles

Usage:

* {{Metacritic person | id= the-beatles | name= The Beatles }}

Output:

No ID in template or Wikidata

[edit]

Usage:

{{Metacritic person}}

Output:

{{Metacritic person}} 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:Metacritic person in articles based on its TemplateData.

TemplateData for Metacritic person

This template displays an external link to a web page for person or group at the Metacritic website. 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") may be used to specify the ID portion of the URL. Example: julia-louis-dreyfus is the ID in https://www.metacritic.com/person/julia-louis-dreyfus. This parameter is optional if Wikidata property P1712 exists, but required if not.

Default
Wikidata property P1712
Stringoptional
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the name of the person or group, which is displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional