Template:Imdb: Difference between revisions
From LGPedia
Jump to navigationJump to search
No edit summary |
see also |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[http://www.imdb.com/{{#ifeq: {{{type}}} | movie |title/tt|name/nm}}{{{id}}}/ {{#if: {{{text|}}} {{{text}}}|{{{name}}}}}]<noinclude> | [http://www.imdb.com/{{#ifeq: {{{type}}} | movie |title/tt|name/nm}}{{{id}}}/ {{#if: {{{text|}}} | {{{text}}}|{{{name}}}|}}]<noinclude> | ||
==Usage== | ==Usage== | ||
Use this template to link to people or movies on [http://www.imdb.com/ IMDb]. | Use this template to link to people or movies on [http://www.imdb.com/ IMDb]. | ||
| Line 5: | Line 5: | ||
{{imdb|type=TYPE|id=ID|name=NAME|text=OPTIONAL TEXT}} | {{imdb|type=TYPE|id=ID|name=NAME|text=OPTIONAL TEXT}} | ||
</pre> | </pre> | ||
TYPE must be "person" or "movie". If neither is provided, the default is "person". ID is the IMDb id number of the person or movie, and NAME is the name of the person or movie. OPTIONAL TEXT is the text displayed, but if it is not provided, NAME will be used in its place.[[Category: | TYPE must be "person" or "movie". If neither is provided, the default is "person". ID is the IMDb id number of the person or movie, and NAME is the name of the person or movie. OPTIONAL TEXT is the text displayed, but if it is not provided, NAME will be used in its place. | ||
==See also== | |||
*[[Template:Imdb-person]] | |||
*[[Template:Imdb-movie]] | |||
[[Category:External link templates]]</noinclude> | |||
Latest revision as of 18:05, 13 January 2008
Usage
Use this template to link to people or movies on IMDb.
{{imdb|type=TYPE|id=ID|name=NAME|text=OPTIONAL TEXT}}
TYPE must be "person" or "movie". If neither is provided, the default is "person". ID is the IMDb id number of the person or movie, and NAME is the name of the person or movie. OPTIONAL TEXT is the text displayed, but if it is not provided, NAME will be used in its place.