Difference between revisions of "Template:AllMovie title/doc"
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 == |
| − | < | + | 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: | + | # The page [[URL]] should look like this: |
| − | # Copy {{em|only}} that number. Add the following text to the '''External links''' section: | + | #: <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'', '' | + | #: 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 == | |
| + | ; Film | ||
# For ''[[Quantum of Solace]]'', the AllMovie page URL is: | # For ''[[Quantum of Solace]]'', the AllMovie page URL is: | ||
| − | # | + | #: <code><nowiki>http://www.allmovie.com/movie/quantum-of-solace-v</nowiki>{{Hilite|356351}}</code> |
| − | # Copy | + | #: or <code><nowiki>http://www.allmovie.com/movie/v</nowiki>{{Hilite|356351}}</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|466814|Fringe (TV series)}} |
| − | # Enter {{Para|tab| | + | # Enter {{Para|tab|cast-crew}} to display the AllMovie "cast and crew" page: |
| − | # | + | #: <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 documentation subpage for Template:AllMovie title. It contains usage information, categories and other content that is not part of the original template page. |
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.
Contents
Usage
Unnamed parameters:
{{AllMovie title|ID}}{{AllMovie title|ID|TITLE}}
Named parameters:
{{AllMovie title|id=ID}}{{AllMovie title|id=ID|title=TITLE}}
Instructions
- Search 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:
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.)
- 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
TITLEis the title of the film (default is the article's name.)
- 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
- 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
- Copy
356351and add it to this template, i.e.:{{AllMovie title|356351|Quantum of Solace}}- or
{{AllMovie title|id=356351|title=Quantum of Solace}}
- This will display as:
- Quantum of Solace at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- Enter
|tab=reviewto 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
- 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
- Copy
466814and add it to this template, i.e.:{{AllMovie title|466814|Fringe [TV Series] (2008)}}- or
{{AllMovie title|id=466814|title=Fringe (TV series)}}
- This will display as:
- Fringe (TV series) at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- Enter
|tab=cast-crewto 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
- {{AllMovie name}}
- {{AllMusic}}
- {{AllGame}}
- {{AMG}}