Template:AllMovie title/doc: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Content deleted Content added
m {{Lua|Module:EditAtWikidata}}
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{High-use|22819}}
{{High-use|22819}}
{{Uses Wikidata|P1562}}
{{Uses Wikidata|P504}}
{{Lua|Module:EditAtWikidata}}
{{Lua|Module:EditAtWikidata}}


Line 93: Line 93:
],
],
"description": "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.",
"description": "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.",
"default": "Wikidata property P1562",
"default": "Wikidata property P504",
"example": "466814",
"example": "466814",
"type": "number",
"type": "number",

Latest revision as of 07:34, October 17, 2020

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.

Usage

Unnamed parameters:

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

Named parameters:

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

Using Wikidata property P1562:

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

Instructions

  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.

Examples

Film

URLs:

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

Unnamed parameters:

{{AllMovie title | 356351 | Quantum of Solace }}
Quantum of Solace at AllMovie

Named parameters:

{{AllMovie title | id= 356351 | title= Quantum of Solace }}
Quantum of Solace at AllMovie

With "tab" parameter:

{{AllMovie title | id= 356351 | title= Quantum of Solace (cast & crew) | tab= cast-crew }}
Quantum of Solace (cast & crew) at AllMovie

TV series

URLs:

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

Unnamed parameters:

{{AllMovie title | 466814 | Fringe }}
Fringe at AllMovie

Named parameters:

{{AllMovie title | id= 466814 | title= Fringe }}
Fringe at AllMovie

With "tab" parameter:

{{AllMovie title | id= 466814 | title= Fringe (cast & crew) | tab= cast-crew }}
Fringe (cast & crew) at AllMovie

No parameters and Wikidata property not defined

Usage:

{{AllMovie title}}

Output:

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for 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..

Template parameters

ParameterDescriptionTypeStatus
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.

Default
Wikidata property P504
Example
466814
Numberoptional
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)".

Default
{{PAGENAMEBASE}}
Example
Fringe (cast & crew)
Stringoptional
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.

Example
cast-crew
Stringoptional

Tracking categories

See also

Similar film title templates: