imported>Mr. Stradivarius |
imported>Zyxw |
| (10 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| | {{Template test cases notice}} | | {{Template test cases notice}} |
| | | | |
| − | == General == | + | == No parameters == |
| | | | |
| − | {| class="wikitable" | + | If no ID is provided, the template uses [[Wikidata]] property {{wpl|P345}}: |
| − | !! Code !! Template output !! Sandbox output
| + | : <kbd><nowiki>https://www.imdb.com/title/{{#property:P345}}/</nowiki></kbd> |
| − | |-
| + | If the page does not have a Wikidata item containing that property, the template uses the page name: |
| − | |<code><nowiki>{{IMDb title }}</nowiki></code> || {{IMDb title }} || {{IMDb title/sandbox }}
| + | : <kbd><nowiki>https://www.imdb.com/Title?{{urlencode:{{PAGENAME}}}}/</nowiki></kbd> |
| − | |-
| + | : The template also adds [[:Category:IMDb template with no id set]] if the page is located in the [[WP:NS0|main or article namespace]]. |
| − | |<code><nowiki>{{IMDb title |0111282 }}</nowiki></code> || {{IMDb title |0111282 }} || {{IMDb title/sandbox |0111282 }}
| + | The [[link text]] should be the Wikipedia page name, without disambiguation (via {{tlg|kbd=yes|PAGENAMEBASE}}). |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate }}</nowiki></code> || {{IMDb title |0111282|Stargate }} || {{IMDb title/sandbox |0111282|Stargate }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache! }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache! }} || {{IMDb title/sandbox |0111282|Stargate|with panache! }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title | id=0111282 }}</nowiki></code> || {{IMDb title | id=0111282 }} || {{IMDb title/sandbox | id=0111282 }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate }} || {{IMDb title/sandbox | id=0111282 | title=Stargate }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! }}
| |
| − | |-
| |
| − | |}
| |
| | | | |
| − | == Recommended date forms == | + | {{Test case nowiki|format=inline|collapsible=yes|title=No parameters |
| | + | |code=<nowiki>{{__TEMPLATENAME__}}</nowiki> |
| | + | }} |
| | | | |
| − | {| class="wikitable" | + | {{Test case nowiki|format=inline|collapsible=yes|title=empty ID (unnamed parameter) |
| − | !! Code !! Template output !! Sandbox output
| + | |code=<nowiki>{{__TEMPLATENAME__ | }}</nowiki> |
| − | |- | + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} }} | + | {{Test case nowiki|format=inline|collapsible=yes|title=empty ID (named parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= }}</nowiki> |
| − | |}
| + | }} |
| | | | |
| − | ==Detail pages== | + | {{Test case nowiki|format=inline|collapsible=yes|title=empty ID and Title (unnamed parameters) |
| − | ===Select by position=== | + | |code=<nowiki>{{__TEMPLATENAME__ | | }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=empty ID and Title (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= | title= }}</nowiki> |
| | + | }} |
| | | | |
| − | {| class="wikitable"
| + | == Parameter: id (1) == |
| − | !! Code !! Template output !! Sandbox output
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|alternateversions| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|alternateversions| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|alternateversions| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|amazon| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|amazon| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|amazon| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|awards| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|awards| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|awards| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|business| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|business| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|business| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|cinemashowtimes| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|cinemashowtimes| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|cinemashowtimes| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|combined| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|combined| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|combined| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|companycredits| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|companycredits| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|companycredits| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|crazycredits| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|crazycredits| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|crazycredits| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|dvd| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|dvd| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|dvd| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|externalreviews| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|externalreviews| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|externalreviews| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|faq| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|faq| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|faq| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|fullcredits| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|fullcredits| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|fullcredits| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|goofs| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|goofs| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|goofs| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|laserdisc| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|laserdisc| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|laserdisc| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|keywords| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|keywords| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|keywords| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|literature| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|literature| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|literature| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|locations| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|locations| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|locations| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|maindetails| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|maindetails| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|maindetails| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|miscsites| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|miscsites| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|miscsites| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|movieconnections| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|movieconnections| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|movieconnections| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|officialsites| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|officialsites| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|officialsites| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|news| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|news| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|news| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|parentalguide| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|parentalguide| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|parentalguide| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|photogallery| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|photogallery| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|photogallery| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|photosites| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|photosites| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|photosites| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|plotsummary| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|plotsummary| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|plotsummary| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|posters| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|posters| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|posters| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|quotes| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|quotes| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|quotes| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|ratings| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|ratings| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|ratings| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|recommendations| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|recommendations| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|recommendations| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|releaseinfo| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|releaseinfo| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|releaseinfo| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|sales| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|sales| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|sales| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|soundsites| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|soundsites| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|soundsites| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|soundtrack| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|soundtrack| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|soundtrack| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|synopsis| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|synopsis| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|synopsis| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|taglines| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|taglines| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|taglines| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|technical| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|technical| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|technical| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|trailers| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|trailers| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|trailers| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|trivia| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|trivia| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|trivia| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|tvschedule| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|tvschedule| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|tvschedule| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|videosites| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|videosites| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|videosites| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |<code><nowiki>{{IMDb title |0111282|Stargate|with panache!|usercomments| accessdate={{#time:Y-m-d}} }}</nowiki></code> || {{IMDb title |0111282|Stargate|with panache!|usercomments| accessdate={{#time:Y-m-d}} }} || {{IMDb title/sandbox |0111282|Stargate|with panache!|usercomments| accessdate={{#time:Y-m-d}} }}
| |
| − | |-
| |
| − | |}
| |
| | | | |
| − | ===Select by parameter===
| + | If the ID does not start with "tt", the template adds "tt" (and leading zeros, if needed): |
| | + | : <kbd>0111282 — https://<nowiki/>www.imdb.com/title/{{Hilite|tt|lightgreen}}{{Hilite|0111282}}/</kbd> (valid ID: 7 digits) |
| | + | : <kbd>111282 — https://<nowiki/>www.imdb.com/title/{{Hilite|tt0|lightgreen}}{{Hilite|111282}}/</kbd> (valid ID: 7 digits after template adds leading zero) |
| | + | : <kbd>10020954 — https://<nowiki/>www.imdb.com/name/{{Hilite|tt|lightgreen}}{{Hilite|10020954}}/</kbd> (valid ID: 8 digits) |
| | + | : <kbd>123456789 — https://<nowiki/>www.imdb.com/name/{{Hilite|tt|lightgreen}}{{Hilite|123456789}}/</kbd> (invalid ID: more than 8 digits) |
| | | | |
| − | {| class="wikitable" | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with leading zeros (unnamed parameter) |
| − | !! Code !! Template output !! Sandbox output
| + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 }}</nowiki> |
| − | |- | + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=alternateversions }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=alternateversions }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=alternateversions }} | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with leading zeros (named parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=amazon }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=amazon }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=amazon }}
| + | }} |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=awards }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=awards }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=awards }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number without leading zeros (unnamed parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | 111282 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=business }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=business }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=business }}
| + | }} |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number without leading zeros (named parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=cinemashowtimes }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=cinemashowtimes }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=cinemashowtimes }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= 111282 }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=combined }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=combined }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=combined }}
| + | |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with 8 digits (unnamed parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=companycredits }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=companycredits }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=companycredits }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | 10020954 }}</nowiki> |
| − | |- | + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=crazycredits }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=crazycredits }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=crazycredits }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with 8 digits (named parameter) |
| − | |- | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 10020954 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=dvd }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=dvd }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=dvd }}
| + | }} |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=externalreviews }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=externalreviews }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=externalreviews }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with 9 digits (unnamed parameter) |
| − | |- | + | |code=<nowiki>{{__TEMPLATENAME__ | 123456789 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=faq }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=faq }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=faq }} | + | }} |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID number with 9 digits (named parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=fullcredits }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=fullcredits }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=fullcredits }} | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 123456789 }}</nowiki> |
| − | |- | + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=goofs }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=goofs }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=goofs }} | + | |
| − | |-
| + | If the ID starts with "tt", the template does not make any changes: |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=laserdisc }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=laserdisc }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=laserdisc }}
| + | : <kbd>tt0111282 — https://<nowiki/>www.imdb.com/title/{{Hilite|tt0111282}}/</kbd> (valid ID: tt + 7 digits) |
| − | |- | + | : <kbd>tt111282 — https://<nowiki/>www.imdb.com/title/{{Hilite|tt111282}}/</kbd> (invalid ID: less than 7 digits) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=keywords }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=keywords }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=keywords }} | + | : <kbd>tt10020954 — https://<nowiki/>www.imdb.com/name/{{Hilite|tt10020954}}/</kbd> (valid ID: tt + 8 digits) |
| − | |-
| + | : <kbd>tt123456789 — https://<nowiki/>www.imdb.com/name/{{Hilite|tt123456789}}/</kbd> (invalid ID: more than 8 digits) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=literature }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=literature }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=literature }}
| + | : An article using {{tlc|{{BASEPAGENAME}}|tt111282}} or {{tlc|{{BASEPAGENAME}}|tt123456789}} would be added to [[:Category:IMDb template with invalid id set]] and a warning message is displayed in preview mode. |
| − | |- | + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=locations }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=locations }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=locations }} | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" and leading zeros (unnamed parameter) |
| − | |- | + | |code=<nowiki>{{__TEMPLATENAME__ | tt0111282 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=maindetails }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=maindetails }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=maindetails }} | + | }} |
| − | |- | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" and leading zeros (named parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=miscsites }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=miscsites }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=miscsites }} | + | |code=<nowiki>{{__TEMPLATENAME__ | id= tt0111282 }}</nowiki> |
| − | |- | + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=movieconnections }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=movieconnections }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=movieconnections }} | + | |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" without leading zeros (unnamed parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=officialsites }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=officialsites }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=officialsites }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | tt111282 }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=news }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=news }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=news }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" without leading zeros (named parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= tt111282 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=parentalguide }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=parentalguide }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=parentalguide }}
| + | }} |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photogallery }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photogallery }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photogallery }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" with 8 digits (unnamed parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | tt10020954 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photosites }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photosites }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=photosites }}
| + | }} |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" with 8 digits (named parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=plotsummary }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=plotsummary }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=plotsummary }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= tt10020954 }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=posters }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=posters }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=posters }}
| + | |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" with 9 digits (unnamed parameter) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=quotes }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=quotes }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=quotes }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | tt123456789 }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=ratings }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=ratings }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=ratings }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID with "tt" with 9 digits (named parameter) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= tt123456789 }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=recommendations }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=recommendations }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=recommendations }}
| + | }} |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=releaseinfo }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=releaseinfo }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=releaseinfo }}
| + | The [[link text]] should be the Wikipedia page name, without disambiguation (via {{tlg|kbd=yes|PAGENAMEBASE}}). |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=sales }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=sales }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=sales }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and empty Title (unnamed parameters) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundsites }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundsites }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundsites }}
| + | }} |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and empty Title (named parameters) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundtrack }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundtrack }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=soundtrack }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=synopsis }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=synopsis }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=synopsis }}
| + | |
| − | |-
| + | == Parameter: title (2) == |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=taglines }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=taglines }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=taglines }}
| + | |
| − | |-
| + | By default, the title is displayed in [[italic type]]: |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=technical }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=technical }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=technical }}
| + | : see {{Section link||Parameter: description (3)}} for non-italic text placed after the title |
| − | |-
| + | : see {{Section link||Parameter: quotes}} for the title in [[quotation mark]]s, instead of italics |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trailers }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trailers }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trailers }}
| + | |
| − | |-
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Title (unnamed parameters) |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trivia }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trivia }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=trivia }}
| + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate }}</nowiki> |
| − | |-
| + | }} |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=tvschedule }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=tvschedule }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=tvschedule }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Title (named parameters) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate }}</nowiki> |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=videosites }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=videosites }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=videosites }}
| + | }} |
| − | |-
| + | |
| − | |<code><nowiki>{{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=usercomments }}</nowiki></code> || {{IMDb title | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=usercomments }} || {{IMDb title/sandbox | id=0111282 | title=Stargate | description=with panache! | accessdate={{#time:Y-m-d}} | select=usercomments }}
| + | {{Test case nowiki|format=inline|collapsible=yes|title=Title only, no ID (named parameters) |
| − | |-
| + | |code=<nowiki>{{__TEMPLATENAME__ | title= Stargate }}</nowiki> |
| − | |}
| + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=Title only, empty ID (unnamed parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | | Stargate }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=Title only, empty ID (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= | title= Stargate }}</nowiki> |
| | + | }} |
| | + | |
| | + | == Parameter: description (3) == |
| | + | |
| | + | Any text in {{para|description}} is added after the title, inside the [[link text]]. |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID, Title, Description (unnamed parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | (1994 film) }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID, Title, Description (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | description= (1994 film) }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Title, empty Description (unnamed parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Title, empty Description (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | description= }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Description, no Title (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | description= (1994 film) }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Description, empty Title (unnamed parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | | (1994 film) }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=ID and Description, empty Title (named parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= | description= (1994 film) }}</nowiki> |
| | + | }} |
| | + | |
| | + | == Parameter: quotes == |
| | + | |
| | + | Any value assigned to {{para|quotes}} will place the title in quotes, instead of italics. |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=quotes (unnamed ID parameter, no Title parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | quotes= yes }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=quotes (named ID parameter, no Title parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | quotes= no }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=quotes (unnamed ID and Title parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | quotes= 1 }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=quotes (named ID and Title parameters) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | quotes= 0 }}</nowiki> |
| | + | }} |
| | + | |
| | + | == Parameter: section == |
| | + | |
| | + | If {{para|section|award}} or {{para|section|awards}}: |
| | + | : "Awards for " is added before the title, inside the [[link text]] |
| | + | : <kbd>awards</kbd> is added to the end of the URL: <kbd>https://<nowiki/>www.imdb.com/title/tt#######/{{Hilite|awards}}</kbd> |
| | + | |
| | + | If {{para|section|locations}}: |
| | + | : "Filming locations for " is added before the title, inside the [[link text]] |
| | + | : <kbd>locations</kbd> is added to the end of the URL: <kbd>https://<nowiki/>www.imdb.com/title/tt#######/{{Hilite|locations}}</kbd> |
| | + | |
| | + | Any other values in {{para|section}} are simply appended to the URL. |
| | + | |
| | + | === awards === |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=award (unnamed parameters for ID and Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | section= award }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=award (named parameters for ID and Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | section= award }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (unnamed parameters for ID and Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | section= awards }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (named parameters for ID and Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | section= awards }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (unnamed parameter for ID, no Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | section= awards }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (named parameter for ID, no Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | section= awards }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (unnamed parameter for ID, empty Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | | section= awards }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=awards (named parameter for ID, empty Title) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= | section= awards }}</nowiki> |
| | + | }} |
| | + | |
| | + | === locations === |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=locations (unnamed parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | (1994) | section= locations }}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=locations (named parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | description= (1994) | section= locations }}</nowiki> |
| | + | }} |
| | + | |
| | + | === other sections === |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=fullcredits (unnamed parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | 0111282 | Stargate | (1994) | section= fullcredits }}</nowiki> |
| | + | }} |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=technical (named parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__ | id= 0111282 | title= Stargate | description= (1994) | section= technical }}</nowiki> |
| | + | }} |
| | + | |
| | + | == All parameters == |
| | + | |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=All parameters (unnamed parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__|0111282|Stargate|(1994 film)|quotes=y|section=awards}}</nowiki> |
| | + | }} |
| | + | {{Test case nowiki|format=inline|collapsible=yes|title=All parameters (named parameters for ID, Title, Description) |
| | + | |code=<nowiki>{{__TEMPLATENAME__|id=0111282|title=Stargate|description=(1994 film)|quotes=y|section=awards}}</nowiki> |
| | + | }} |