跳至內容

模板: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
字串非必填

追蹤分類

[編輯]

參見

[編輯]

相關電影模板: