Template:AMG ref/doc

Usage
An easy and optional method to make inline citation references to AllMusic for albums. Always substitute this template. All fields are required and are only made up of plain text (i.e. there is no styling such as italics for album titles:


 * 1) the AllMusic album id, for instance "mw0000647618"
 * 2) the name of the album, for instance "New Adventures in Hi-Fi"
 * 3) the name of the recording artist, for instance "R.E.M."
 * 4) the personal name of the reviewer of the album, for instance "Stephen Thomas"
 * 5) the surname of the reviewer of the album, for instance "Erlewine"

To use this example elaborated above, insert:


 * mw0000647618>

to get the following reference:

Note that for several years, AllMusic's web pages were titled "[Artist] – [Album Title]", but this switched in late February 2024.

Known issues and to-do

 * You cannot actually substitute inside of reference tags. This is a MediaWiki-wide issue and cannot be resolved by this template or on this project. The workaround is a simple hack where the trailing right angle bracket at the very end must be manually inserted. Cumbersome, but this still results in less typing for the user and ensures conformity and best practices for the template parameters (for instance, Cite-web recommends using " " for undated web pages, but only a very small fraction of AllMusic references actually use this.
 * You cannot include further optional parameters, such as . In the example above, the author has a biography on Wikipedia, so it is best to link to Stephen Thomas Erlewine. This could be accomplished with if-then statements in the future. Alternately, users can just substitute the existing template and then manually edit fields such as this one.
 * The  defaults to ISO dates. This will likely be resolved on individual pages that have tags such as use dmy dates and use mdy dates. If not, a bot can fix these.
 * In the future, this should be able to draw AllMusic album ids from Wikidata.

TemplateData
{   "description": "", "params": { "1": {           "label": "AllMusic ID", "description": "The AllMusic album id", "type": "string", "example": "mw0000647618", "required": true },      "2": {            "label": "Album name", "description": "The name of the album", "type": "string", "example": "New Adventures in Hi-Fi", "required": true },       "3": {            "label": "Recording artist", "description": "The name of the recording artist", "type": "string", "example": "R.E.M.", "required": true },       "4": {            "label": "Reviewer first name", "description": "The personal name of the reviewer of the album", "type": "string", "example": "Stephen Thomas", "required": true },       "5": {            "label": "Reviewer last name", "description": "The surname of the reviewer of the album", "type": "string", "example": "Erlewine", "required": true }   } }