Predloga:IMDb-naslov/testniprimeri

Iz Wikipedije, proste enciklopedije

No parameters[uredi kodo]

If no ID is provided, the template uses Wikidata property oznaka IMDb (P345):

https://www.imdb.com/title/{{#property:P345}}/

If the page does not have a Wikidata item containing that property, the template uses the page name:

https://www.imdb.com/Title?{{urlencode:{{PAGENAME}}}}/
The template also adds Kategorija:IMDb predloga brez id if the page is located in the main or article namespace.

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

No parameters
empty ID (unnamed parameter)
empty ID (named parameter)
empty ID and Title (unnamed parameters)
empty ID and Title (named parameters)

Parameter: id (1)[uredi kodo]

If the ID does not start with "tt", the template adds "tt" (and leading zeros, if needed):

0111282 — https://www.imdb.com/title/tt0111282/ (valid ID: 7 digits)
111282 — https://www.imdb.com/title/tt0111282/ (valid ID: 7 digits after template adds leading zero)
10020954 — https://www.imdb.com/name/tt10020954/ (valid ID: 8 digits)
123456789 — https://www.imdb.com/name/tt123456789/ (invalid ID: more than 8 digits)
ID number with leading zeros (unnamed parameter)
ID number with leading zeros (named parameter)
ID number without leading zeros (unnamed parameter)
ID number without leading zeros (named parameter)
ID number with 8 digits (unnamed parameter)
ID number with 8 digits (named parameter)
ID number with 9 digits (unnamed parameter)
ID number with 9 digits (named parameter)

If the ID starts with "tt", the template does not make any changes:

tt0111282 — https://www.imdb.com/title/tt0111282/ (valid ID: tt + 7 digits)
tt111282 — https://www.imdb.com/title/tt111282/ (invalid ID: less than 7 digits)
tt10020954 — https://www.imdb.com/name/tt10020954/ (valid ID: tt + 8 digits)
tt123456789 — https://www.imdb.com/name/tt123456789/ (invalid ID: more than 8 digits)
An article using {{IMDb-naslov|tt111282}} or {{IMDb-naslov|tt123456789}} would be added to Category:IMDb template with invalid id set and a warning message is displayed in preview mode.
ID with "tt" and leading zeros (unnamed parameter)
ID with "tt" and leading zeros (named parameter)
ID with "tt" without leading zeros (unnamed parameter)
ID with "tt" without leading zeros (named parameter)
ID with "tt" with 8 digits (unnamed parameter)
ID with "tt" with 8 digits (named parameter)
ID with "tt" with 9 digits (unnamed parameter)
ID with "tt" with 9 digits (named parameter)

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

ID and empty Title (unnamed parameters)
ID and empty Title (named parameters)

Parameter: title (2)[uredi kodo]

By default, the title is displayed in italic type:

see § Parameter: description (3) for non-italic text placed after the title
see § Parameter: quotes for the title in quotation marks, instead of italics
ID and Title (unnamed parameters)
  • {{IMDb-naslov | 0111282 | Stargate }}Stargate v IMDb
  • {{IMDb-naslov/peskovnik | 0111282 | Stargate }}Stargate v IMDb
ID and Title (named parameters)
  • {{IMDb-naslov | id= 0111282 | title= Stargate }}Stargate v IMDb
  • {{IMDb-naslov/peskovnik | id= 0111282 | title= Stargate }}Stargate v IMDb
Title only, no ID (named parameters)
Title only, empty ID (unnamed parameters)
Title only, empty ID (named parameters)
  • {{IMDb-naslov | id= | title= Stargate }}Stargate v IMDb
  • {{IMDb-naslov/peskovnik | id= | title= Stargate }}Stargate v IMDb

Parameter: description (3)[uredi kodo]

Any text in |description= is added after the title, inside the link text.

ID, Title, Description (unnamed parameters)
ID, Title, Description (named parameters)
ID and Title, empty Description (unnamed parameters)
  • {{IMDb-naslov | 0111282 | Stargate | }}Stargate v IMDb
  • {{IMDb-naslov/peskovnik | 0111282 | Stargate | }}Stargate v IMDb
ID and Title, empty Description (named parameters)
  • {{IMDb-naslov | id= 0111282 | title= Stargate | description= }}Stargate v IMDb
  • {{IMDb-naslov/peskovnik | id= 0111282 | title= Stargate | description= }}Stargate v IMDb
ID and Description, no Title (named parameters)
ID and Description, empty Title (unnamed parameters)
ID and Description, empty Title (named parameters)

Parameter: quotes[uredi kodo]

Any value assigned to |quotes= will place the title in quotes, instead of italics.

quotes (unnamed ID parameter, no Title parameters)
quotes (named ID parameter, no Title parameters)
quotes (unnamed ID and Title parameters)
  • {{IMDb-naslov | 0111282 | Stargate | quotes= 1 }}"Stargate" v IMDb
  • {{IMDb-naslov/peskovnik | 0111282 | Stargate | quotes= 1 }}"Stargate" v IMDb
quotes (named ID and Title parameters)
  • {{IMDb-naslov | id= 0111282 | title= Stargate | quotes= 0 }}"Stargate" v IMDb
  • {{IMDb-naslov/peskovnik | id= 0111282 | title= Stargate | quotes= 0 }}"Stargate" v IMDb

Parameter: section[uredi kodo]

If |section=award or |section=awards:

"Awards for " is added before the title, inside the link text
awards is added to the end of the URL: https://www.imdb.com/title/tt#######/awards

If |section=locations:

"Filming locations for " is added before the title, inside the link text
locations is added to the end of the URL: https://www.imdb.com/title/tt#######/locations

Any other values in |section= are simply appended to the URL.

awards[uredi kodo]

award (unnamed parameters for ID and Title)
award (named parameters for ID and Title)
awards (unnamed parameters for ID and Title)
awards (named parameters for ID and Title)
awards (unnamed parameter for ID, no Title)
awards (named parameter for ID, no Title)
awards (unnamed parameter for ID, empty Title)
awards (named parameter for ID, empty Title)

locations[uredi kodo]

locations (unnamed parameters for ID, Title, Description)
  • {{IMDb-naslov | 0111282 | Stargate | (1994) | section= locations }}Stargate (1994) v IMDb
  • {{IMDb-naslov/peskovnik | 0111282 | Stargate | (1994) | section= locations }}Stargate (1994) v IMDb
locations (named parameters for ID, Title, Description)
  • {{IMDb-naslov | id= 0111282 | title= Stargate | description= (1994) | section= locations }}Stargate (1994) v IMDb
  • {{IMDb-naslov/peskovnik | id= 0111282 | title= Stargate | description= (1994) | section= locations }}Stargate (1994) v IMDb

other sections[uredi kodo]

fullcredits (unnamed parameters for ID, Title, Description)
  • {{IMDb-naslov | 0111282 | Stargate | (1994) | section= fullcredits }}Stargate (1994) v IMDb
  • {{IMDb-naslov/peskovnik | 0111282 | Stargate | (1994) | section= fullcredits }}Stargate (1994) v IMDb
technical (named parameters for ID, Title, Description)
  • {{IMDb-naslov | id= 0111282 | title= Stargate | description= (1994) | section= technical }}Stargate (1994) v IMDb
  • {{IMDb-naslov/peskovnik | id= 0111282 | title= Stargate | description= (1994) | section= technical }}Stargate (1994) v IMDb

All parameters[uredi kodo]

All parameters (unnamed parameters for ID, Title, Description)
All parameters (named parameters for ID, Title, Description)