Wiki143:IMDb link templates
Script error: No such module "about". Template:Wikipedia how to For links to the Internet Movie Database (IMDb), there are the following templates:
| Template | Example code | Example rendered |
|---|---|---|
| Template:Twlh | Template:Tlx | Template:Trim/ Template:Trim at IMDbTemplate:EditAtWikidataScript error: No such module "Check for unknown parameters".Template:WikidataCheck |
| Template:Twlh | Template:Tlx | Template:Trim/ Jack Nicholson at IMDbTemplate:EditAtWikidataScript error: No such module "Check for unknown parameters". |
| Template:Tlx | Template:Trim/bio Biography for Jack Nicholson at IMDbTemplate:EditAtWikidataScript error: No such module "Check for unknown parameters". | |
| Template:Twlh | Template:Tlx | Template:Trim/ "One for the Road" at IMDbTemplate:EditAtWikidataScript error: No such module "Check for unknown parameters".Template:Main otherTemplate:WikidataCheck |
| Template:Twlh | Template:Tlx | Template:IMDb episodes |
| Template:Twlh | Template:Tlx | Template:IMDb event |
| Template:Twlh | Template:Tlx | Template:IMDb country year |
Further instructions about the use of these templates can be found on their respective document pages. They are intended for use in the external links section of articles.
Interwiki links
The following interwiki links allow links as well:
- [[IMDbName:Name id]]
- e.g. IMDbName:0000197 (Jack Nicholson)
- [[IMDbTitle:Title id]]
- e.g. IMDbTitle:0094721 (Beetlejuice)
- [[IMDbCompany:Company id]]
- e.g. IMDbCompany:0005073 (Universal Pictures)
This type of link should not be used in articles, for reasons explained at WT:WikiProject Film/Archive 79#Masking imdb links as wikilinks. It may be appropriate on Talk Pages as a simple way to link to relevant material.
See meta:Interwiki map.
IMDb external link icon
If you have a browser that shows the external link icon (File:External.png) then you can set any IMDb links to show its own icon (File:IMDb external.png)
See also m:Help:User style for more info on CSS selectors.
Edit either your common.css or your skin-specific css and add:
#bodyContent a.extiw[href ^="http://www.imdb.com/"],
#bodyContent a.external[href *="imdb.com/"],
#bodyContent a.external[href *="imdb.co.uk/"] {
background: url(http://upload.wikimedia.org/wikipedia/en/5/53/IMDb_external.png) center right no-repeat;
padding-right: 13px;
}
Once you save the page, you may need to hold Shift and click Reload.
If you do not want interwiki links to show the icon, eliminate the a.extiw entry
Please see help on m:Help:User style
Testing
Do you see it here on this plain link?
or on this interwiki link?
See also
- Wikipedia:Citing IMDb
- WP:RS/IMDB, WikiProject Film's IMDb guidance