Difference between revisions of "Template:IMDb company/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 16 interwiki links, now provided by Wikidata on d:Q7126128) |
imported>Trivialist (→Detailed instructions: Spelling/grammar correction) |
||
| Line 29: | Line 29: | ||
# Copy and paste one of the options above into the article | # Copy and paste one of the options above into the article | ||
# Go to http://www.imdb.com and search for the person you want (say, Universal Pictures; you'll reach <code>http://www.imdb.com/find?s=all&q=Universal+ Pictures </code>) | # Go to http://www.imdb.com and search for the person you want (say, Universal Pictures; you'll reach <code>http://www.imdb.com/find?s=all&q=Universal+ Pictures </code>) | ||
| − | # Click on the correct Universal | + | # Click on the correct Universal Pictures in the list: |
## <code>[http://www.imdb.com/company/co0005073/ Universal Pictures] [us] (Distributor)</code> | ## <code>[http://www.imdb.com/company/co0005073/ Universal Pictures] [us] (Distributor)</code> | ||
# You then reach the page with [[URL]] looking like <tt>http://www.imdb.com/company/co0005073/</tt> (or other 7-digit number) | # You then reach the page with [[URL]] looking like <tt>http://www.imdb.com/company/co0005073/</tt> (or other 7-digit number) | ||
| Line 40: | Line 40: | ||
## Replace "<tt>ID</tt>" with the number ''and'' "<tt>Company</tt>" with "<tt>Universal Pictures</tt>" | ## Replace "<tt>ID</tt>" with the number ''and'' "<tt>Company</tt>" with "<tt>Universal Pictures</tt>" | ||
##: <tt><nowiki>* {{IMDb company|0005073|Universal Pictures}}</nowiki></tt> results in: | ##: <tt><nowiki>* {{IMDb company|0005073|Universal Pictures}}</nowiki></tt> results in: | ||
| − | ##:* {{IMDb company|0005073|Universal Pictures}} | + | ##:* {{IMDb company|0005073|Universal Pictures}} |
==Examples== | ==Examples== | ||
Revision as of 16:11, 28 April 2013
| File:Edit-copy green.svg | This is a documentation subpage for Template:IMDb company. It contains usage information, categories and other content that is not part of the original template page. |
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 episode}} instead.
- To link an episode list, use {{IMDb episodes}} instead.
- To link a character, use {{IMDb character}} instead.
Options
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
- Copy and paste one of the options above into the article
- 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) - Click on the correct Universal Pictures in the list:
Universal Pictures [us] (Distributor)
- You then reach the page with URL looking like http://www.imdb.com/company/co0005073/ (or other 7-digit number)
- 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) - Replace "ID" in the template code with the number
- For the first option above, you'll then have
- * {{IMDb company|0005073}} resulting in:
- Template:PAGENAMEBASE at IMDbScript error: No such module "EditAtWikidata".
- 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:
- Replace "ID" with the number and "Company" with "Universal Pictures"
- * {{IMDb company|0005073|Universal Pictures}} results in:
- Universal Pictures at IMDbScript error: No such module "EditAtWikidata".
- * {{IMDb company|0005073|Universal Pictures}} results in:
- For the first option above, you'll then have
Examples
Each of the below links lead to Sunshine Film Corporation [us], but appears differently:
- {{IMDb company|0003678}} takes the page name and appears as: Template:PAGENAMEBASE at IMDbScript error: No such module "EditAtWikidata".
- {{IMDb company|0003678|Sunshine Film Corporation (US)}} takes the parameter name and appears as: Sunshine Film Corporation (US) at IMDbScript error: No such module "EditAtWikidata".
See also