Template:Metacritic film: Difference between revisions
use https to avoid redirect at website |
Johnrdorazio (talk | contribs) m 1 revision imported |
||
(No difference)
|
Revision as of 20:05, October 16, 2020
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. |
- Metacritic ID (P652) (see uses)
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.
- 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
Unnamed parameters:
{{Metacritic film | ID }}
{{Metacritic film | ID | TITLE }}
Named parameters:
{{Metacritic film | id= ID }}
{{Metacritic film | id= ID | title= TITLE }}
Using Wikidata property Metacritic ID (P652):
{{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}} template missing ID and not present in Wikidata.
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}}