Template:Allmusic/doc

Purpose
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
Vertical layout

Horizontal layout

Short layout Valid with these three parameters only:

Examples
Group or artist expands to

Album (supplying accessdate) expands to

Song (short notation) expands to

Using tab parameter expands to

Accessing tab in tab with sort (not using tab parameter) expands to

Author name expands to

Template data
{	"description": "This template produces an external link to an entry at AllMusic.", "params": { "class": { "label": "AllMusic class", "type": "string", "description": "Class of information, possible are \"artist\" (default), \"album\", \"song\", \"work\" or \"explore\". Part of URL immediately after \"www.allmusic.com/\".", "aliases":["1"] },		"id": { "label": "AllMusic ID", "type": "number", "required": true, "description": "AllMusic ID number. The letter-number code towards the end of the URL. Can be used for the entire end of the URL.", "aliases":["2"] },		"tab": { "label": "Page tab", "type": "string", "description": "If the link should access directly a specific tab on the AllMusic site you can use this parameter to specify that tab (e.g. \"charts-awards\"). The value for this parameter corresponds to the suffix of the URL following the identification, after the slash ('/'). If you are specifying a sub-tab of a tab, the whole suffix has to be used, (e.g. \"songs/songs-composed-by\")." },		"label": { "label": "Displayed text", "type": "string", "description": "Text to display for the link. Defaults to page title.", "aliases":["3"] },		"first": { "label": "Author's first name", "type": "string", "description": "The author's first or given name(s)." },		"last": { "label": "Author's last name", "type": "string", "description": "The author's surname or last name." },		"pure_url": { "label": "URL only", "type": "string", "description": "If set to \"yes\", produces URL only without additional formatting. Typically used in citation templates." },		"accessdate": { "label": "Access date", "type": "string", "description": "Full date when item was accessed." }	} }