Difference between revisions of "Template:Album citation/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>GregorB
(Category:Citation templates)
m (10 revisions imported)
 
(8 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
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:
 
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 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).
+
:'''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
+
:'''site''' = the three letter abbreviation AMG or RYM. For AMG it's better to use {{tl|Allmusic}}.
 +
:'''compilation''' = set to any value for compilation albums, required for RYM.
  
A typical call is<br><br>
+
A typical call is
<nowiki>
+
<pre>
{{Album citation|Album name=Lonely Girl|Album code=10:dpfyxqr5ldse|site=AMG}}
+
{{Album citation|Album name=Lonely Girl|Album code=r25661|site=AMG}}
</nowiki><br><br>
+
</pre>
or<br><br>
+
producing<br>
<nowiki>
+
:{{Album citation|Album name=Lonely Girl|Album code=r25661|site=AMG}}
 +
 
 +
or
 +
<pre>
 
{{Album citation|Album name=Lonely Girl|Album code=julie_london/lonely_girl/|site=RYM}}
 
{{Album citation|Album name=Lonely Girl|Album code=julie_london/lonely_girl/|site=RYM}}
</nowiki>
+
</pre>
 +
producing<br>
 +
:{{Album citation|Album name=Lonely Girl|Album code=julie_london/lonely_girl/|site=RYM}}
 +
 
 +
or
 +
<pre>
 +
{{Album citation|Album name=The Best of Julie|Album code=julie_london/the_best_of_julie/|site=RYM|compilation=yes}}
 +
</pre>
 +
producing<br>
 +
:{{Album citation|Album name=The Best of Julie|Album code=julie_london/the_best_of_julie/|site=RYM|compilation=yes}}
  
 
<!-- === See also === -->
 
<!-- === See also === -->
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Citation templates|{{PAGENAME}}]]
+
[[Category:Music source templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 15:09, 19 October 2020

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