Difference between revisions of "Template:AllMovie name/doc"
blackwiki>Zyxw (document module used) |
blackwiki>Zyxw m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 38: | Line 38: | ||
=== Person === | === Person === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/steven-spielberg-p{{Hilite|112325}}</kbd> |
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/p{{Hilite|112325}}</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
| Line 51: | Line 51: | ||
=== Animal === | === Animal === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/jiggs-the-monkey-p{{Hilite|35624}}</kbd> |
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/p{{Hilite|35624}}</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
| Line 64: | Line 64: | ||
=== Company === | === Company === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/method-studios-p{{Hilite|344927}}</kbd> |
| − | : < | + | : <kbd><nowiki>https://</nowiki>www.allmovie.com/artist/p{{Hilite|344927}}</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
Revision as of 05:18, 5 August 2018
| This is a documentation subpage for Template:AllMovie name. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:AllMovie name displays an external link to a page for an artist (person, animal, or company) 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 external links to films and television series, use {{AllMovie title}} instead.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P2019:
Instructions
- Go to AllMovie and search for the artist you want.
- Click on the correct link to go to the artist's page. Be sure you're getting the right artist.
- The page URL should look like this:
https://www.allmovie.com/artist/name-p#####- or
https://www.allmovie.com/artist/p##### - where
#####indicates a number
- Add this text to the External links section:
* {{AllMovie name | ##### | NAME }}- or
* {{AllMovie name | id= ##### | name= NAME }} - where
#####is the number you've copied, - and
NAMEis the artist's name (default is the article name)
Examples
Person
URLs:
- https://www.allmovie.com/artist/steven-spielberg-p112325
- https://www.allmovie.com/artist/p112325
Unnamed parameters:
- Template:Tlcw
- Steven Spielberg at AllMovieScript error: No such module "EditAtWikidata".
Named parameters:
- Template:Tlcw
- Steven Spielberg at AllMovieScript error: No such module "EditAtWikidata".
Animal
URLs:
- https://www.allmovie.com/artist/jiggs-the-monkey-p35624
- https://www.allmovie.com/artist/p35624
Unnamed parameters:
- Template:Tlcw
- Jiggs the Monkey at AllMovieScript error: No such module "EditAtWikidata".
Named parameters:
- Template:Tlcw
- Jiggs the Monkey at AllMovieScript error: No such module "EditAtWikidata".
Company
URLs:
- https://www.allmovie.com/artist/method-studios-p344927
- https://www.allmovie.com/artist/p344927
Unnamed parameters:
- Template:Tlcw
- Method Studios at AllMovieScript error: No such module "EditAtWikidata".
Named parameters:
- Template:Tlcw
- Method Studios at AllMovieScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at AllMovieScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for AllMovie name
This template displays an external link to a page for an artist (person, animal, or company) 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: 112325 is the ID portion of https://www.allmovie.com/artist/steven-spielberg-p112325 or https://www.allmovie.com/artist/p112325. This parameter is optional if Wikidata property P3351 exists, but required if not.
| Number | optional |
| name | name 2 | The "name" 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 "(actor)" or "(director)".
| String | optional |
See also
- {{AllMovie title}}
- {{AllMusic}}
- {{AllGame}}
- {{AMG}}