Template:FilmLinks
Appearance
This template uses one or more Wikidata properties; see § wikidata for details.
This template should always be substituted (i.e., use {{subst:FilmLinks}} ). |
This template allows linking to external links found on most film title articles. This will aid in the maintenance and standardization of these external links.
How to use
[edit]- Not all parameters must be used, but do not delete parameters when using. An empty parameter shows a link was considered not worth adding, but a missing link implies the parameter was forgotten or didn't exist at the time the template was applied.
- Please discuss all proposed additions, deletions and formatting changes to the Template itself within the Template's Talk page.
Cut & paste
[edit]Either
{{subst:FilmLinks
| name =
| imdb =
| allmovie =
| mojo =
| metacritic =
| rotten =
| screen =
| brit =
| sony =
| turner =
}}
or (preferred)
{{subst:FilmLinks | name = | imdb = | allmovie = | mojo = | metacritic = | rotten = | screen = | brit = | sony = | turner = }}
The order of the parameters does not matter.
Parameters
[edit]- All parameters are optional, but if you don't include any of them, nothing will show up.
- Do not use capital letters. They might disrupt the code.
Parameter | Data | Result | Template | URL source |
---|---|---|---|---|
name | text | n/a | n/a | name of movie, defaults to {{PAGENAMEBASE}} |
imdb | id | Entry | {{IMDb title}} | https://www.imdb.com /title/tt[imdb] |
allmovie | id | Entry | {{AllMovie title}} | https://www.allmovie.com /movie/v[allmovie] |
mojo | name | Entry | {{Mojo title}} | https://www.boxofficemojo.com /movies/?id=[mojo].htm |
metacritic | name | Reviews | {{Metacritic film}} | https://www.metacritic.com /movie/[metacritic] |
rotten | name | Reviews | {{Rotten Tomatoes}} | https://www.rottentomatoes.com /m/[rotten] |
screen | id | Entry | {{Screenonline title}} | http://www.screenonline.org.uk /film/id/[screen] |
brit | id | Entry | {{Britmovie title}} | http://www.britmovie.co.uk /films/[brit] |
sony | id | Entry | n/a | http://www.sonyclassics.com /[sony] |
turner | id | Entry | {{TCMDb title}} | http://www.tcm.turner.com/tcmdb /title/title.jsp?stid=[turner] |
wikidata
[edit]- Internet Movie Database – P345: IMDb ID
- AllMovie – P1562: AllMovie title ID
- Box Office Mojo – P1237: Box Office Mojo film ID (former scheme)
- Metacritic – P1712: Metacritic ID
- Rotten Tomatoes – P1258: Rotten Tomatoes ID
- TCM Movie Database – P2631: TCM Movie Database film ID
Examples
[edit]Example 1
[edit]{{subst:FilmLinks | name = Inception | imdb = 1375666 | allmovie = 480818 | mojo = inception | metacritic = inception | rotten = inception }}
Adds the following:
* {{IMDb title|1375666|Inception}}
* {{AllMovie title|480818|Inception}}
* {{Mojo title|inception|Inception}}
* {{Metacritic film|inception|Inception}}
* {{Rotten Tomatoes|inception|Inception}}
Displayed as:
- Inception at IMDb
- Inception at AllMovie
- Inception at Box Office Mojo
- Inception at Metacritic
- Inception at Rotten Tomatoes
Example 2
[edit]{{subst:FilmLinks | name = They Drive by Night | imdb = 0030858 | screen = 502445 | brit = They-Drive-by-Night_1938 }}
Adds the following:
* {{IMDb title|0030858|They Drive by Night}}
* {{Screenonline title|502445|They Drive by Night}}
* {{Britmovie title|They-Drive-by-Night_1938|They Drive by Night}}
Displayed as:
- They Drive by Night at IMDb
- They Drive by Night at the BFI's Screenonline
- They Drive by Night at BritMovie (archived)
Example 3
[edit]{{subst:FilmLinks | name = Midnight in Paris | imdb = 1605783 | sony = midnightinparis | turner = 802334 }}
Adds the following:
* {{IMDb title|1605783|Midnight in Paris}}
* [http://www.sonyclassics.com/midnightinparis ''Midnight in Paris''] at [[Sony Pictures Classics]]
* {{TCMDb title|802334|Midnight in Paris}}
Displayed as: