Template:AllMovie name/sandbox
This is the template sandbox page for Template:AllMovie name (diff). See also the companion subpage for test cases. |
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.
Usage
Unnamed parameters:
{{AllMovie name | ID }}
{{AllMovie name | ID | NAME }}
Named parameters:
{{AllMovie name | id= ID }}
{{AllMovie name | id= ID | name= NAME }}
Using Wikidata property P2019:
{{AllMovie name}}
{{AllMovie name | name= NAME }}
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
NAME
is 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:
{{AllMovie name | 112325 | Steven Spielberg }}
- Steven Spielberg at AllMovie
Named parameters:
{{AllMovie name | id= 112325 | name= Steven Spielberg }}
- Steven Spielberg at AllMovie
Animal
URLs:
- https://www.allmovie.com/artist/jiggs-the-monkey-p35624
- https://www.allmovie.com/artist/p35624
Unnamed parameters:
{{AllMovie name | 35624 | Jiggs the Monkey }}
- Jiggs the Monkey at AllMovie
Named parameters:
{{AllMovie name | id= 35624 | name= Jiggs the Monkey }}
- Jiggs the Monkey at AllMovie
Company
URLs:
- https://www.allmovie.com/artist/method-studios-p344927
- https://www.allmovie.com/artist/p344927
Unnamed parameters:
{{AllMovie name | 344927 | Method Studios }}
- Method Studios at AllMovie
Named parameters:
{{AllMovie name | id= 344927 | name= Method Studios }}
- Method Studios at AllMovie
No parameters and Wikidata property not defined
Usage:
{{AllMovie name}}
Output:
TemplateData
TemplateData for AllMovie name
<templatedata> {
"description": "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.",
"params": { "id": { "label": "id", "aliases": [ "1" ], "description": "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.", "type": "number", "default": "Wikidata property P3351", "required": false }, "name": { "label": "name", "aliases": [ "2" ], "description": "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)\".", "type": "string", "default": "AllMovie name/sandbox",
"required": false
} }, "paramOrder": [ "id", "name" ] } </templatedata>
See also
- {{AllMovie title}}
- {{AllMusic}}
- {{AllGame}}
- {{AMG}}
The above documentation is transcluded from Template:AllMovie name/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |