Template:Metacritic film
This template is used on approximately 4,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Template:Metacritic film displays an external link to a web page for film title at the Metacritic website. It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{Metacritic film | ID }}
{{Metacritic film | ID | TITLE }}
Named parameters:
{{Metacritic film | id= ID }}
{{Metacritic film | id= ID | title= TITLE }}
Using Wikidata property (P1712):
{{Metacritic film}}
{{Metacritic film | title= TITLE }}
Instructions
- Go to Metacritic.com and search for the film title. Click on the correct link to go to the film's page. The URL should look like this:
https://www.metacritic.com/movie/film-name
- Copy only the portion after
/movie/
and add one of the following to the External links section of the article:* {{Metacritic film | film-name }}
* {{Metacritic film | id= film-name }}
* {{Metacritic film | film-name | Film Name }}
* {{Metacritic film | id= film-name | title= Film Name }}
- where
film-name
is the film's unique ID string as copied from the URL - and
Film Name
is the title of the film (this is optional, if not specified it defaults to the Wikipedia article name).
Examples
Unnamed parameters
URL:
- https://www.metacritic.com/movie/the-godfather
Usage:
* {{Metacritic film | the-godfather | The Godfather }}
Output:
Named parameters
URL:
- https://www.metacritic.com/movie/the-terminator
Usage:
* {{Metacritic film | id= the-terminator | title= The Terminator (1984) }}
Output:
No ID in template or Wikidata
Usage:
{{Metacritic film}}
Output:
- Metacritic film at MetacriticLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
TemplateData for Metacritic film
This template displays an external link to a film title web page at the Metacritic website. 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") may be used to specify the ID portion of the URL. Example: the-godfather is the ID in https://www.metacritic.com/movie/the-godfather. This parameter is optional if Wikidata property P1712 exists, but required if not.
| String | optional |
Title | title 2 | The "title" parameter (or unnamed parameter "2") may be used to specify the film title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
See also
Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{TCMDb title}}
- {{AFI film}}
- {{BFI}}
- {{Rotten Tomatoes}}
- {{Mojo title}}
Other media:
- 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}}