Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Letterboxd title/doc

From Wikipedia, the free encyclopedia

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:

https://letterboxd.com/film/the-empire-strikes-back/

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:

https://letterboxd.com/film/the-lion-king/

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

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Letterboxd title in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P6127
Stringoptional
Titletitle 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
Descriptiondescription 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.

Stringoptional

See also

[edit]