跳转到内容

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-vm2396955
https://www.allmovie.com/movie/vm2396955

编号参数:

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

命名参数:

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

使用tab参数:

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

电视剧

[编辑]

网址:

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

编号参数:

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

命名参数:

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

使用tab参数:

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

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

[编辑]

输入:

{{AllMovie title}}

输出:

{{AllMovie title}}模板缺少ID,且ID不存在于维基数据中。

模板数据

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

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
字符串可选

追踪分类

[编辑]

參見

[编辑]

相关电影模板: