Difference between revisions of "Template:AllMovie title/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(update)
blackwiki>Zyxw
(update all sections to show named parameters, update formatting, add second example)
Line 3: Line 3:
 
This is a template used to generate external links to [[AllMovie]] (formerly known as All Movie Guide and AllRovi). This template should be used only for films and television series; to link to a person (actor, director, ''etc.'') use {{tl|AllMovie name}} instead.
 
This is a template used to generate external links to [[AllMovie]] (formerly known as All Movie Guide and AllRovi). This template should be used only for films and television series; to link to a person (actor, director, ''etc.'') use {{tl|AllMovie name}} instead.
  
==Usage==
+
== Usage ==
<blockquote><code><nowiki>{{AllMovie title|356351|Quantum of Solace}}</nowiki></code></blockquote>
+
Unnamed parameters:
 +
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''ID''<nowiki>}}</nowiki></code>
 +
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''ID''|''TITLE''<nowiki>}}</nowiki></code>
  
=== Instructions ===
+
Named parameters:
 +
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=''ID''<nowiki>}}</nowiki></code>
 +
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=''ID''|title=''TITLE''<nowiki>}}</nowiki></code>
 +
 
 +
== Instructions ==
 
# Search [http://www.allmovie.com/ AllMovie] for the film title you want, and click on the correct link to go to that film's page.
 
# Search [http://www.allmovie.com/ AllMovie] for the film title you want, and click on the correct link to go to that film's page.
# The page [[URL]] should look like this: <blockquote><code><nowiki>http://www.allmovie.com/movie/v</nowiki>{{Hilite|######}}</code></blockquote> where "<code>{{Hilite|######}}</code>" indicates a number. (If it doesn't, there should be a message under the film's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired film from the list.)
+
# The page [[URL]] should look like this:
# Copy {{em|only}} that number. Add the following text to the '''External links''' section: <blockquote><code><nowiki>{{AllMovie title|######|Title}}</nowiki></code></blockquote> where <blockquote><code>######</code> is the number you've copied, and <br><code>Title</code> is the title of the film (default is the article's name.)</blockquote>
+
#: <code><nowiki>http://www.allmovie.com/movie/this-is-the-title-v</nowiki>{{Hilite|######}}</code>
# Optional: add the parameter {{Para|tab}} to show different pages in a film's entry. Choices are: ''overview'', ''cast_crew'', ''review'', ''awards'', ''releases''. Leaving the parameter empty will display the overview.
+
#: or <code><nowiki>http://www.allmovie.com/movie/v</nowiki>{{Hilite|######}}</code>
 +
#: where "<code>######</code>" indicates a number. (If it doesn't, there should be a message under the film's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired film from the list.)
 +
# Copy {{em|only}} that number. Add the following text to the '''External links''' section:
 +
#: <code><nowiki>* {{</nowiki>AllMovie title|######|''TITLE''<nowiki>}}</nowiki></code>
 +
#: or <code><nowiki>* {{</nowiki>AllMovie title|id=######|title=''TITLE''<nowiki>}}</nowiki></code>
 +
#: where <code>######</code> is the number you've copied,
 +
#: and <code>''TITLE''</code> is the title of the film (default is the article's name.)
 +
# Optional: add the parameter {{Para|tab}} to show different pages in a film's entry. Choices are: ''overview'', ''cast-crew'', ''review'', ''awards'', ''releases''. Leaving the parameter empty will display the overview.
  
=== Example ===
+
== Example ==
 +
; Film
 
# For ''[[Quantum of Solace]]'', the AllMovie page URL is:
 
# For ''[[Quantum of Solace]]'', the AllMovie page URL is:
#* <code>http://www.allmovie.com/movie/v356351</code>
+
#: <code><nowiki>http://www.allmovie.com/movie/quantum-of-solace-v</nowiki>{{Hilite|356351}}</code>
# Copy "356351" and add it to this template, ''i.e.'':
+
#: or <code><nowiki>http://www.allmovie.com/movie/v</nowiki>{{Hilite|356351}}</code>
#* <code><nowiki>{{AllMovie title|356351|Quantum of Solace}}</nowiki></code>
+
# Copy <code>356351</code> and add it to this template, ''i.e.'':
 +
#: <code><nowiki>{{AllMovie title|356351|Quantum of Solace}}</nowiki></code>
 +
#: or <code><nowiki>{{AllMovie title|id=356351|title=Quantum of Solace}}</nowiki></code>
 +
# This will display as:
 +
#: {{AllMovie title|356351|Quantum of Solace}}
 +
# Enter {{Para|tab|review}} to display the AllMovie review:
 +
#: <code><nowiki>{{AllMovie title|356351|Quantum of Solace|tab=review}}</nowiki></code>
 +
#: or <code><nowiki>{{AllMovie title|id=356351|title=Quantum of Solace|tab=review}}</nowiki></code>
 +
#: produces {{AllMovie title|356351|Quantum of Solace|tab=review}}
 +
 
 +
; TV series
 +
# For [[Fringe (TV series)|''Fringe'' (TV series)]], the AllMovie page URL is:
 +
#: <code><nowiki>http://www.allmovie.com/movie/fringe-tv-series-v</nowiki>{{Hilite|466814}}</code>
 +
#: or <code><nowiki>http://www.allmovie.com/movie/v</nowiki>{{Hilite|466814}}</code>
 +
# Copy <code>466814</code> and add it to this template, ''i.e.'':
 +
#: <code><nowiki>{{AllMovie title|466814|Fringe [TV Series] (2008)}}</nowiki></code>
 +
#: or <code><nowiki>{{AllMovie title|id=466814|title=Fringe (TV series)}}</nowiki></code>
 
# This will display as:
 
# This will display as:
#* {{AllMovie title|356351|Quantum of Solace}}
+
#: {{AllMovie title|466814|Fringe (TV series)}}
# Enter {{Para|tab|review}} to display the AllMovie review: <code><nowiki>{{AllMovie title|356351|Quantum of Solace|tab=review}}</nowiki></code> produces
+
# Enter {{Para|tab|cast-crew}} to display the AllMovie "cast and crew" page:
#* {{AllMovie title|356351|Quantum of Solace|tab=review}}
+
#: <code><nowiki>{{AllMovie title|466814|Fringe (TV series)|tab=cast-crew}}</nowiki></code>
 +
#: or <code><nowiki>{{AllMovie title|id=466814|title=Fringe (TV series)|tab=cast-crew}}</nowiki></code>
 +
#: produces {{AllMovie title|466814|Fringe (TV series)|tab=cast-crew}}
  
 
== See also ==
 
== See also ==

Revision as of 22:20, 31 August 2014

This is a template used to generate external links to AllMovie (formerly known as All Movie Guide and AllRovi). This template should be used only for films and television series; to link to a person (actor, director, etc.) use {{AllMovie name}} instead.

Usage

Unnamed parameters:

  • {{AllMovie title|ID}}
  • {{AllMovie title|ID|TITLE}}

Named parameters:

  • {{AllMovie title|id=ID}}
  • {{AllMovie title|id=ID|title=TITLE}}

Instructions

  1. Search AllMovie for the film title you want, and click on the correct link to go to that film's page.
  2. The page URL should look like this:
    http://www.allmovie.com/movie/this-is-the-title-v######
    or http://www.allmovie.com/movie/v######
    where "######" indicates a number. (If it doesn't, there should be a message under the film's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired film 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 film (default is the article's name.)
  4. Optional: add the parameter |tab= to show different pages in a film's entry. Choices are: overview, cast-crew, review, awards, releases. Leaving the parameter empty will display the overview.

Example

Film
  1. For Quantum of Solace, the AllMovie page URL is:
    http://www.allmovie.com/movie/quantum-of-solace-v356351
    or http://www.allmovie.com/movie/v356351
  2. Copy 356351 and add it to this template, i.e.:
    {{AllMovie title|356351|Quantum of Solace}}
    or {{AllMovie title|id=356351|title=Quantum of Solace}}
  3. This will display as:
    Quantum of Solace at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
  4. Enter |tab=review to display the AllMovie review:
    {{AllMovie title|356351|Quantum of Solace|tab=review}}
    or {{AllMovie title|id=356351|title=Quantum of Solace|tab=review}}
    produces Quantum of Solace at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0Template:Ns0
TV series
  1. For Fringe (TV series), the AllMovie page URL is:
    http://www.allmovie.com/movie/fringe-tv-series-v466814
    or http://www.allmovie.com/movie/v466814
  2. Copy 466814 and add it to this template, i.e.:
    {{AllMovie title|466814|Fringe [TV Series] (2008)}}
    or {{AllMovie title|id=466814|title=Fringe (TV series)}}
  3. This will display as:
    Fringe (TV series) at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
  4. Enter |tab=cast-crew to display the AllMovie "cast and crew" page:
    {{AllMovie title|466814|Fringe (TV series)|tab=cast-crew}}
    or {{AllMovie title|id=466814|title=Fringe (TV series)|tab=cast-crew}}
    produces Fringe (TV series) at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0

See also