模板:AllMovie title/sandbox
AllMovie上《AllMovie title/sandbox》的资料(英文)
这是Template:AllMovie title(差异)的沙盒。 参见本模板的测试样例。 |
此模板使用Lua语言: |
概要
[编辑]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 }}
{{AllMovie title}}
{{AllMovie title | title= TITLE }}
{{AllMovie title | tab= TAB }}
{{AllMovie title | title= TITLE | tab= TAB }}
使用方法
[编辑]- Search AllMovie for the title you want, and click on the correct link to go to that title's page.
- 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.)
- 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.)
- 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
编号参数:
命名参数:
使用tab参数:
{{AllMovie title | id= m2334086 | title= Fringe (cast & crew) | tab= cast-crew }}
- AllMovie上《Fringe (cast & crew)》的资料(英文)
没设参数并且维基数据属性未设
[编辑]输入:
{{AllMovie title}}
输出:
- {{AllMovie title}}模板缺少ID,且ID不存在于维基数据中。
模板数据
[编辑]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..
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
ID | id 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.
| 数字 | 可选 |
Title | title 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)".
| 字符串 | 可选 |
Tab | tab | 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.
| 字符串 | 可选 |
追踪分类
[编辑]- Category:AllMovie title模板含有无效值(41)
- Category:AllMovie title模板含有tab参数值设为review(0)
- Category:在AllMovie title使用未知参数的页面(0)
参见
[编辑]- {{AllMovie name}}
- {{AllMusic}}
- {{AllGame}}
相关电影模板:
- {{IMDb title}}
- {{TCMDb title}}
- {{AFI film}}
- {{BFI}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
- {{Mojo title}}