FANDOM


{{imdb name}} is a specialised form of {{imdb}}. It is the preferred template for use with people, be they actors or crew members. If you want to make a link to any other type of IMDb record — company, title, whatever — you will need to use the base {{imdb}} template.

Usage

Usage could not be simpler.

Just cut and paste the following[1] onto pages:
== External link ==
{{imdb name|id=}}

תבנית:Reflist Then, insert the IMDB number after id= but before }} and you're done!

Just to explain the fields

  • The id number is the purely numerical string which follows the letters nm in an imdb.com URL, such as:
http://www.imdb.com/name/nm1112940/
You should include any leading zeros. For instance, David Tennant's is 0855039. Only by putting the whole string, including the initial 0, into id= will you have a working link to DT.
  • There is a "hidden" variable of name here. It assumes that the name of the actor/crew memeber is the same as the name of the page. In well over 99% of cases, this is true. Very occasionally, though, you'll run into a person whose name is disambiguated, like Andrew Collins (critic) or Adam Smith (director). In these cases you'll have to add the name field manually, as in
    {{imdb name|id=1112940|name=Andrew Collins}}

Example

Past iterations

Earlier versions of this template did not have a default value for name. Consequently, you a value had to be placed in the name field. Typically, this was done in the following manner:

{{imdb name|id=0009834|name={{PAGENAME}}}}

The use of the magic word PAGENAME automatically places the page name into the field name. Alternately, some editors took the time to actually type out the actor or crew member's name in the name field.

Neither is necessary anymore. But it's also not harmful. Hence, you will still find this usage on many hundreds of pages.

Earlier versions also failed to include a preceding asterisk. However, pre-pending asterisks were removed by bot on 12:33, May 22, 2012 (UTC) across the wiki. This template now behaves like other external link templates. Using a prepending asterisk will now produce an obvious stylistic error.


שגיאת ציטוט: קיימים תגי <ref>, אך לא נמצא תג <references/>
Community content is available under CC-BY-SA unless otherwise noted.