Template:AllMovie title/doc: Difference between revisions
m {{Lua|Module:EditAtWikidata}} |
Johnrdorazio (talk | contribs) 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| |
{{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 |
"default": "Wikidata property P504", |
||
"example": "466814", |
"example": "466814", |
||
"type": "number", |
"type": "number", |
Latest revision as of 07:34, October 17, 2020
This is a documentation subpage for Template:AllMovie title. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 25,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
- AllMovie movie ID (P504) (see uses)
This template uses 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.
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
- 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.
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:
Named parameters:
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
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..
Parameter | Description | Type | Status | |
---|---|---|---|---|
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.
| Number | optional |
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)".
| String | optional |
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.
| String | optional |
Tracking categories
- Category:AllMovie titles with invalid value (2)
- Category:AllMovie titles with a tab value of review (0)
See also
- {{AllMovie name}}
- {{AllMusic}}
- {{AllGame}}
Similar film title templates:
- {{IMDb title}}
- {{TCMDb title}}
- {{AFI film}}
- {{BFI}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
- {{Mojo title}}