Template:IMDb name/testcases

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

If the page does not have a Wikidata item containing that property, the template uses the page name:
 * https://www.imdb.com/Name?/
 * The template also adds Category:IMDb name 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 "nm", the template adds "nm" (and leading zeros, if needed):
 * 0001109 — https:// www.imdb.com/name// (valid ID: 7 digits)
 * 1109 — https:// www.imdb.com/name// (valid ID: 7 digits after template adds leading zeros)
 * 10108524 — 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 "nm", the template does not make any changes:
 * nm0001109 — https:// www.imdb.com/name// (valid ID: nm + 7 digits)
 * nm1109 — https:// www.imdb.com/name// (invalid ID: less than 7 digits)
 * nm10108524 — https:// www.imdb.com/name// (valid ID: nm + 8 digits)
 * nm123456789 — https:// www.imdb.com/name// (invalid ID: more than 8 digits)
 * An article using or  would be added to Category:IMDb template with invalid id set and a warning message is displayed in preview mode.

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

Parameter: section
If award or awards:
 * "Awards for " is added before the name, inside the link text
 * awards is added to the end of the URL: https:// www.imdb.com/name/nm#######/

If bio or biography:
 * "Biography for " is added before the name, inside the link text
 * bio is added to the end of the URL: https:// www.imdb.com/name/nm#######/

Any other values in section are ignored.