Difference between revisions of "Template:FilmLinks/doc"

From blackwiki
Jump to navigation Jump to search
imported>KolbertBot
m (Bot: HTTP→HTTPS (v485))
imported>Zyxw
(add template categories)
Line 92: Line 92:
 
[[Category:Television external link templates]]
 
[[Category:Television external link templates]]
 
[[Category:Film external link templates]]
 
[[Category:Film external link templates]]
 +
[[Category:Templates containing multiple external links‎]]
 +
[[Category:External link templates using Wikidata]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:52, 28 March 2019

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

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:

after subst--
* {{imdb title|1375666|Inception}}
* {{AllMovie title|480818|Inception}}
* {{Mojo title|inception|Inception}}
* {{Metacritic film|inception|Inception}}
* {{Rotten Tomatoes|inception|Inception}}