Template:IMDb title/testcases

No parameters
If no ID is provided, the template uses Wikidata property :
 * https://www.imdb.com/title//

If the page does not have a Wikidata item containing that property, the template uses the page name:
 * https://www.imdb.com/Title?/
 * The template also adds Category:Pages using IMDb title with no id set if the page is located in the main or article namespace.

The link text should be the Wikipedia page name, without disambiguation (via ).

Parameter: id (1)
If the ID does not start with "tt", the template adds "tt" (and leading zeros, if needed):
 * 0111282 — https:// www.imdb.com/title// (valid ID: 7 digits)
 * 111282 — https:// www.imdb.com/title// (valid ID: 7 digits after template adds leading zero)
 * 10020954 — https:// www.imdb.com/name// (valid ID: 8 digits)
 * 123456789 — https:// www.imdb.com/name// (invalid ID: more than 8 digits)

If the ID starts with "tt", the template does not make any changes:
 * tt0111282 — https:// www.imdb.com/title// (valid ID: tt + 7 digits)
 * tt111282 — https:// www.imdb.com/title// (invalid ID: less than 7 digits)
 * tt10020954 — https:// www.imdb.com/name// (valid ID: tt + 8 digits)
 * tt123456789 — https:// www.imdb.com/name// (invalid ID: more than 8 digits)
 * An article using or  would be added to Category:Pages using IMDb title with no id set and a warning message is displayed in preview mode.

The link text should be the Wikipedia page name, without disambiguation (via ).

Parameter: title (2)
By default, the title is displayed in italic type:
 * see for non-italic text placed after the title
 * see for the title in quotation marks, instead of italics

Parameter: description (3)
Any text in description is added after the title, inside the link text.

Parameter: quotes
Any value assigned to quotes will place the title in quotes, instead of italics.