Difference between revisions of "Template:Album citation"
Jump to navigation
Jump to search
blackwiki>Headbomb m (fix doc display) |
blackwiki>Headbomb m (|) |
||
| Line 1: | Line 1: | ||
| − | *[http://{{#switch:{{{site}}} | + | *[http://{{#switch:{{{site|}}} |
| − | | AMG=allmusic.com/cg/amg.dll?p=amg&sql={{{Album code}}} | + | | AMG=allmusic.com/cg/amg.dll?p=amg&sql={{{Album code|}}} |
| − | | RYM=rateyourmusic.com/release/album/{{{Album code}}} | + | | RYM=rateyourmusic.com/release/album/{{{Album code|}}} |
| − | }} ''{{{Album name}}}'' on ''{{#switch:{{{site}}} | + | }} ''{{{Album name|}}}'' on ''{{#switch:{{{site|}}} |
| AMG=Allmusic | | AMG=Allmusic | ||
| RYM=Rate Your Music | | RYM=Rate Your Music | ||
}}'' site]<noinclude> | }}'' site]<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 11:40, 24 November 2008
- [http:// ' on ' site]
Usage
This template is used to provide references to two of the sites that display data on albums: All Music Guide and Rate Your Music. It is called by supplying the parameters as follows:
- Album name = name of the album
- Album code = the code used to specify the album. On AMG this is a string of numbers and letters like "10:dpfyxqr5ldse" but on RYM it is created from the artist name and album name, such as "julie_london/lonely_girl/" (note the included final slash).
- site = the three letter abbreviation AMG or RYM. For AMG it's better to use {{Allmusic}}.
- compilation = set to any value for compilation albums, required for RYM.
A typical call is
{{Album citation|Album name=Lonely Girl|Album code=r25661|site=AMG}}
producing
or
{{Album citation|Album name=Lonely Girl|Album code=julie_london/lonely_girl/|site=RYM}}
producing
or
{{Album citation|Album name=The Best of Julie|Album code=julie_london/the_best_of_julie/|site=RYM|compilation=yes}}
producing
| The above documentation is transcluded from Template:Album citation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |