Wikipedia:IMDb link templates

For links to the Internet Movie Database (IMDb), there are the following templates:

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.

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.

If you have a browser that shows the external link icon () then you can set any IMDb links to show its own icon ()

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

Uses material from the Wikipedia article Wikipedia:IMDb link templates, released under the CC BY-SA 4.0 license.