Jump to content

Fyrimynd:Imdb fyritøka/doc

Frá Wikipedia, hin frælsa alfrøðin

This is a template to generate links to Internet Movie Database, used exclusively for COMPANIES.

To link a work (film/movie, TV or Web program/series, video game, etc.), use {{IMDb title}} instead.
To link a person (actor, actress, etc.), use {{IMDb name}} instead.
To link a specific TV episode or Web series episode, use {{Imdb partur}} instead.
To link an episode list, use {{Imdb partar}} instead.
To link a character, use {{Imdb leiklutur}} instead.

The required parameter is just the ID number (for backward compatibility, the parameter can be named id) and the template then uses the article title as the anchor text:

* {{IMDb company|ID}}

To have the link text be other than the article name, use second parameter (for backward compatibility, it can be named name):

* {{IMDb company|ID|Company}}

Note that the options include the "*" for a bulleted list since this is most likely to be used in an "External links" section.

Detailed instructions

[rætta wikitekst]
  1. Copy and paste one of the options above into the article
  2. Go to http://www.imdb.com and search for the person you want (say, Universal Pictures; you'll reach http://www.imdb.com/find?s=all&q=Universal+ Pictures )
  3. Click on the correct Universal Pictures in the list:
    1. Universal Pictures [us] (Distributor)
  4. You then reach the page with URL looking like http://www.imdb.com/company/co0005073/ (or other 7-digit number)
  5. Copy only that number (here, "0005073"), omitting the "co" but keep all the leading zeros (though IMDb currently seems to be able to add them as needed)
  6. Replace "ID" in the template code with the number
    1. For the first option above, you'll then have
      * {{IMDb company|0005073}} resulting in:
      Note that the link text is the same as the title of the page the template is used on; outside the page "Universal Pictures", use the second option:
    2. Replace "ID" with the number and "Company" with "Universal Pictures"
      * {{IMDb company|0005073|Universal Pictures}} results in:

Each of the below links lead to Sunshine Film Corporation [us], but appears differently: