Jump to content

Template:IMDb country year/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
imdb → IMDb
updated doc
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
'''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.
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->


The template will use the country name from the article title when the article name has this format: <code>List of {{var|country name}} films of {{var|year}}</code>
This template 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>


== Usage ==
== Usage ==
<code><nowiki>{{</nowiki>IMDb country year|<''ISO 3166-1 alpha-2''>|<''year''>}}</code>
{{tlx|IMDb country year|{{Var|ISO 3166-1 alpha-2}}|{{Var|year}}}}

== Example ==
{{tlx|IMDb country year|fr|2011|_show_result=yes}}


== Tracking categories ==
<code><nowiki>{{IMDb country year|fr|2011}}</nowiki></code> → {{IMDb country year|fr|2011}}
* {{Category link with count|Pages using IMDb country year with unknown parameters}}


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

Revision as of 12:35, 11 December 2023

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

Usage

{{IMDb country year|ISO 3166-1 alpha-2|year}}

Example

{{IMDb country year|fr|2011}}Films of 2011 at IMDb

Tracking categories