Template:AllMusic

From Wikipedia, the free encyclopedia
(Redirected from Template:Allmusic)
Jump to navigation Jump to search

AllMusic at Allmusic

Template documentation[view] [edit] [history] [purge]

This template provides a convenient way to produce an external link to an entry at AllMusic. The template can be used for any link to AllMusic's website, including the External links section or when citing it as a source.

Usage[change source]

Vertical layout[change source]

{{AllMusic
| class      = 
| id         = 
| tab        = 
| label      = 
| first      = 
| last       = 
| accessdate = 
}}

Horizontal layout (named parameters)[change source]

{{AllMusic |class= |id= |tab= |label= |last= |first= |accessdate=}}

Horizontal layout (unnamed parameters)[change source]

Valid with these three parameters only:

{{AllMusic|<class>|<id>|<label>}}

Template data[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for AllMusic

This template produces an external link to an entry at AllMusic.

Template parameters

Parameter Description Type Status
AllMusic class class1

Class of information. Value for this parameter corresponds to part of URL following "www.allmusic.com/". Examples (without quotes): "artist" (default), "album", "song", "work" or "explore".

Default
artist
Example
empty
Auto value
empty
String optional
AllMusic ID id2

AllMusic identification number or string. Corresponds to part of URL following "artist/", "album/", "song/", "work/" or "explore/". Can omit the text before the actual ID with name of artist, album, etc. Example: The ID for www.allmusic.com/artist/led-zeppelin-mn0000139026 would be either "led-zeppelin-mn0000139026" or "mn0000139026". Can also use the entire end of URL, such as: "release/stone-temple-pilots-deluxe-edition-mr0002917004".

Default
empty
Example
empty
Auto value
empty
String required
AllMusic tab tab

If the link should access directly a specific tab on the AllMusic site you can use this parameter to specify that tab. The value for this parameter corresponds to the suffix of the URL following the identification, after the slash ('/'). Examples (without quotes): "biography", "discography", "songs", "awards", etc. If you are specifying a sub-tab of a tab, the whole suffix has to be used, (e.g. "songs/all").

Default
empty
Example
empty
Auto value
empty
String optional
Displayed text label3title

Text to display for the link. If omitted, it defaults to the name of the article where this template is used.

Default
empty
Example
empty
Auto value
empty
String optional
Author's first name first

The author's first or given name(s).

Default
empty
Example
empty
Auto value
empty
String optional
Author's last name last

The author's surname or last name.

Default
empty
Example
empty
Auto value
empty
String optional
Access date accessdate

Full date when item was accessed. Should not be wiki-linked.

Default
empty
Example
empty
Auto value
empty
String optional
URL only pure_url

If set to "yes", produces URL only without additional formatting. Typically used in citation templates.

Default
empty
Example
empty
Auto value
empty
String optional

Examples[change source]

Artist or group (class not specified, defaults to artist)[change source]

Full ID:

Short ID:

Album (with accessdate)[change source]

Full ID:

Short ID:

Song (with unnamed parameters)[change source]

Full ID:

Short ID:

Using tab parameter[change source]

Full ID:

Short ID:

Author name, access date[change source]

Full ID:

Short ID:

Using pure_url with a citation template[change source]

See also[change source]