模板:Letterboxd title
外观
Letterboxd上《{{{title}}}》的资料

本模板使用维基数据资源:
![]() | 此模板使用Lua语言: |
Template:Letterboxd title用于在条目的外部链接章节显示一个指向Letterboxd网站上电影页面的外部链接。
用法
[编辑]无名参数:
{{Letterboxd title | ID }}
{{Letterboxd title | ID | 片名 }}
{{Letterboxd title | ID | 片名 | 描述 }}
具名参数:
{{Letterboxd title | id= ID }}
{{Letterboxd title | id= ID | title= 片名 }}
{{Letterboxd title | id= ID | title= 片名 | description= 描述 }}
{{Letterboxd title}}
{{Letterboxd title | title= 片名 }}
{{Letterboxd title | title= 片名 | description= 描述 }}
示例
[编辑]无名参数
[编辑]URL:
用法:
* {{Letterboxd title | the-empire-strikes-back | 星际大战五部曲:帝国大反击 }}
* {{Letterboxd title | the-empire-strikes-back | 星际大战五部曲:帝国大反击 | (1980年电影) }}
输出:
具名参数
[编辑]URL:
用法:
* {{Letterboxd title | id= the-lion-king | title= 狮子王 }}
* {{Letterboxd title | id= the-lion-king | title= 狮子王 | description= (1994年电影) }}
输出:
- Letterboxd上《狮子王》的资料
- Letterboxd上《狮子王 (1994年电影)》的资料
模板或维基数据缺少ID
[编辑]- 用法
* {{Letterboxd title}}
- 输出
-
- {{Letterboxd title}}模板缺少ID且未在维基数据中存在。
TemplateData
[编辑]此模板用于在条目的外部链接章节显示指向Letterboxd网站上某电影页面的外部链接。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
ID | id 1 | “id”参数(或无名参数“1”)应填写 URL 中的 ID 部分。例如:在 https://letterboxd.com/film/the-lion-king/ 中,ID 是 the-lion-king。如果维基数据中存在 P6127 属性,那么该参数可选,否则必须填写。
| 字符串 | 可选 |
片名 | title 2 | “title”参数(或无名参数“2”)可用于指定电影名字,片名会加书名号显示在链接文本中。此参数可选,默认值为维基百科条目标题,不包括任何消歧义标注(如“(电影)”)。
| 字符串 | 可选 |
描述 | description 3 | “description”参数(或无名参数“3”)可用于指定片名的描述,描述内容会显示在片名之后。此参数可选。 | 字符串 | 可选 |
另见
[编辑]- {{IMDb title}}
- {{Mojo title}}
- {{TCMDb title}}