Template:AllMovie title/doc

维基百科,自由的百科全书

概要

Template:AllMovie title displays an external link to a page for a title (film or television series) at the AllMovie website (formerly known as All Movie Guide and AllRovi). It is intended for use in the external links section of an article.

For an external link to an artist (person, animal, or company), use {{AllMovie name}} instead.

參數

编号参数:

{{AllMovie title | ID }}
{{AllMovie title | ID | NAME }}

命名参数:

{{AllMovie title | id= ID }}
{{AllMovie title | id= ID | title= TITLE }}
{{AllMovie title | id= ID | tab= TAB }}
{{AllMovie title | id= ID | title= TITLE | tab= TAB }}

使用维基数据属性P1562:

{{AllMovie title}}
{{AllMovie title | title= TITLE }}
{{AllMovie title | tab= TAB }}
{{AllMovie title | title= TITLE | tab= TAB }}

使用方法

  1. Search AllMovie for the title you want, and click on the correct link to go to that title's page.
  2. The page URL should look like this:
    https://www.allmovie.com/movie/title-v######
    or https://www.allmovie.com/movie/v######
    where "######" indicates a number. (If it doesn't, there should be a message under the title which says "wrong Result? more matches HERE"; click on this link and reselect the desired title from the list.)
  3. Copy only that number. Add the following text to the External links section:
    * {{AllMovie title | ###### | TITLE }}
    or * {{AllMovie title | id= ###### | title= TITLE }}
    where ###### is the number you've copied,
    and TITLE is the title of the title (default is the article's name.)
  4. Optional: add the parameter |tab= to link to a different page (tab) in a title's entry. Choices are: overview, cast-crew, awards, and releases. Leaving the parameter empty will link to the overview.

範例

电影

网址:

https://www.allmovie.com/movie/quantum-of-solace-v356351
https://www.allmovie.com/movie/v356351

编号参数:

{{AllMovie title | 356351 | Quantum of Solace }}
AllMovie上《Quantum of Solace 》的资料(英文)

命名参数:

{{AllMovie title | id= 356351 | title= Quantum of Solace }}
AllMovie上《Quantum of Solace 》的资料(英文)

使用tab参数:

{{AllMovie title | id= 356351 | title= Quantum of Solace (cast & crew) | tab= cast-crew }}
AllMovie上《Quantum of Solace (cast & crew) 》的资料(英文)

电视剧

网址:

https://www.allmovie.com/movie/fringe-tv-series-v466814
https://www.allmovie.com/movie/v466814

编号参数:

{{AllMovie title | 466814 | Fringe }}
AllMovie上《Fringe 》的资料(英文)

命名参数:

{{AllMovie title | id= 466814 | title= Fringe }}
AllMovie上《Fringe 》的资料(英文)

使用tab参数:

{{AllMovie title | id= 466814 | title= Fringe (cast & crew) | tab= cast-crew }}
AllMovie上《Fringe (cast & crew) 》的资料(英文)

没设参数并且维基数据属性未设

输入:

{{AllMovie title}}

输出:

{{AllMovie title}} template missing ID and not present in Wikidata.

模板数据

以下是该模板的模板数据,适用于可视化编辑器等工具。

AllMovie title模板数据

This template displays an external link to a page for a title (film or television series) at the AllMovie website (formerly known as All Movie Guide and AllRovi). It is intended for use in the external links section of an article..

模板参数

参数描述类型状态
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 466814 is the ID portion of https://www.allmovie.com/movie/fringe-tv-series-v466814 or https://www.allmovie.com/movie/v466814. This parameter is optional if Wikidata property P1562 exists, but required if not.

默认值
Wikidata property P1562
示例值
466814
数字可选
Titletitle 2

The "title" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the subject of the link. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)" or "(TV series)".

默认值
{{PAGENAMEBASE}}
示例值
Fringe (cast & crew)
字符串可选
Tabtab

The "tab" parameter may be used create an external link to a different page (tab) in a film's entry. Choices are: "overview", "cast-crew", "awards", and "releases". Leaving the parameter empty will link to the overview.

示例值
cast-crew
字符串可选

追踪分类

參見

相关电影模板: