Template:IMDb event/doc: Difference between revisions

From The Goon Show Depository
en>Indagate
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
-->
This is a template to generate links to [[IMDb|Internet Movie Database]], '''used exclusively for ''EVENTS'''''.
This is a template to generate links to [[w:IMDb|Internet Movie Database]], '''used exclusively for ''EVENTS'''''.


:To link a work (film/movie, TV or Web program/series, video game, etc.), use {{Tl|IMDb title}} instead.
:To link a work (film/movie, TV or Web program/series, video game, etc.), use {{Tl|IMDb title}} instead.
Line 12: Line 12:


===Options===
===Options===
{{See also|Wikipedia:External links/Perennial websites#IMDb}}
The required parameter is just the ID number (for backward compatibility, the parameter can be named <code>id</code>) and the template then uses the article title as the [[anchor text]]:
The required parameter is just the ID number (for backward compatibility, the parameter can be named <code>id</code>) and the template then uses the article title as the [[anchor text]]:
<pre>
<pre>
Line 28: Line 26:




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


==Detailed instructions==
==Detailed instructions==
Line 45: Line 43:


==See also==
==See also==
*[[Wikipedia:IMDB]]
*[[The Goon Show Depository:IMDB]]


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Latest revision as of 21:20, 31 August 2022

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

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.

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 event|ID}}

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

* {{IMDb event|ID|Event}}

You can also include the year of an event using |year= (the event name is optional):

* {{IMDb event|ID|Event|year=2019}}


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

  1. Copy and paste one of the options above into the article
  2. Go to https://www.imdb.com and search for the event you want (say, MTV Movie Awards)
  3. You then reach the page with URL looking like https://www.imdb.com/event/ev0000453/ (or other 7-digit number)
  4. Copy only that number (here, "0005073"), omitting the "ev" but keep all the leading zeros (though IMDb currently seems to be able to add them as needed)
  5. Replace "ID" in the template code with the number
    1. For the first option above, you'll then have
      * {{IMDb event|0000453}} resulting in:
      Note that the link text is the same as the title of the page the template is used on; outside the page "MTV Movie Awards", use the second option:
    2. Replace "ID" with the number and "Event" with "MTV Movie Awards"
      * {{IMDb event|0000453|MTV Movie Awards}} results in:

See also