This is the template sandbox page for Template:IMDb country year (diff). See also the companion subpage for test cases. |
Template:IMDb country year creates a link to an IMDb database search results page when given the country's two-character ISO 3166-1 alpha-2 country code and a four digit year. Country codes are case insensitive.
The template will use the country name from the article title when the article name has this format: List of country name films of year
{{IMDb country year|ISO 3166-1 alpha-2|year}}
{{IMDb country year|fr|2011}}
→ Films of 2011 at IMDb