Template:FilmLinks/doc
< Template:FilmLinks
Jump to navigation
Jump to search
Revision as of 19:52, 28 March 2019 by imported>Zyxw (add template categories)
| This is a documentation subpage for Template:FilmLinks. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata 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
- Not all fields must be used, but do not delete fields when using. An empty field shows a link was considered not worth adding, but a missing link implies the field 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
Either
{{subst:FilmLinks
| name =
| imdb =
| allmovie =
| bfidb =
| screen =
| brit =
| mojo =
| metacritic =
| rotten =
| sony =
| turner =
}}
or (preferred)
{{subst:FilmLinks | name = | imdb = | allmovie = | bfidb = | screen = | brit = | mojo = | metacritic = | rotten = | sony = | turner = }}
The order of the fields does not matter.
Fields
- 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.
| Field | Data | Result | URL source |
|---|---|---|---|
| name | text | n/a | name of movie, defaults to {{PAGENAME}} |
| imdb | id | Entry | https://www.imdb.com /title/tt[imdb] |
| allmovie | id | Entry | http://www.allmovie.com /movie/v[allmovie] |
| bfidb | id | Entry | http://ftvdb.bfi.org.uk /sift/title/[bfidb] |
| screen | id | Entry | http://www.screenonline.org.uk /film/id/[screen] |
| brit | id | Entry | http://www.britmovie.co.uk /films/[brit] |
| mojo | name | Entry | http://www.boxofficemojo.com /movies/?id=[mojo].htm |
| metacritic | name | Reviews | http://www.metacritic.com /movie/[metacritic] |
| rotten | name | Reviews | http://www.rottentomatoes.com /m/[rotten] |
| sony | id | Entry | http://www.sonyclassics.com /[sony] |
| turner | id | Entry | http://tcmdb.com /title/title.jsp?stid=[turner] |
wikidata
- Internet Movie Database - P345
- AllMovie - P1562
- Box Office Mojo - P1237
- Metacritic - P1712
- Rotten Tomatoes - P1258
Example
{{subst:FilmLinks | name = Inception | imdb = 1375666 | allmovie = 480818 | bfidb = | screen = | sony = | turner = | mojo = inception | metacritic = inception | rotten = inception}}
will return all relevant external links:
- Expression error: Unrecognized punctuation character "[". Inception at IMDbScript error: No such module "EditAtWikidata".Expression error: Unrecognized punctuation character "[".
- Inception at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- Template:Mojo title
- Template:Metacritic film
- Template:Rotten Tomatoes
- after subst--
* {{imdb title|1375666|Inception}}
* {{AllMovie title|480818|Inception}}
* {{Mojo title|inception|Inception}}
* {{Metacritic film|inception|Inception}}
* {{Rotten Tomatoes|inception|Inception}}