Template:Letterboxd title/doc
This is a documentation subpage for Template:Letterboxd title. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Letterboxd title displays an external link to a web page for a film title at the Letterboxd website. It is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{Letterboxd title | ID }}
{{Letterboxd title | ID | TITLE }}
{{Letterboxd title | ID | TITLE | DESCRIPTION }}
Named parameters:
{{Letterboxd title | id= ID }}
{{Letterboxd title | id= ID | title= TITLE }}
{{Letterboxd title | id= ID | title= TITLE | description= DESCRIPTION }}
Using Wikidata property P6127:
{{Letterboxd title}}
{{Letterboxd title | title= TITLE }}
{{Letterboxd title | title= TITLE | description= DESCRIPTION }}
Examples
[edit]Unnamed parameters
[edit]URL:
Usage:
* {{Letterboxd title | the-empire-strikes-back | The Empire Strikes Back }}
* {{Letterboxd title | the-empire-strikes-back | The Empire Strikes Back | (1980 film) }}
Output:
Named parameters
[edit]URL:
Usage:
* {{Letterboxd title | id= the-lion-king | title= The Lion King }}
* {{Letterboxd title | id= the-lion-king | title= The Lion King | description= (1994 film) }}
Output:
No ID in template or Wikidata
[edit]- Usage
* {{Letterboxd title}}
- Output
-
- {{Letterboxd title}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Letterboxd title
This template displays an external link to a web page for a film title at the Letterboxd website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: the-lion-king is the ID in https://letterboxd.com/film/the-lion-king/. This parameter is optional if Wikidata property P6127 exists, but required if not.
| String | optional |
Title | title 2 | The "title" parameter (or unnamed parameter "2") may be used to specify the film title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)".
| String | optional |
Description | description 3 | The "description" parameter (or unnamed parameter "3") may be used to specify a description of the title, which is displayed after the title in the link text. This parameter is optional. | String | optional |
See also
[edit]- {{AllMovie title}}
- {{IMDb title}}
- {{Mojo title}}
- {{TCMDb title}}