Difference between revisions of "Template:AlbumDetails"

From JoCopedia
Jump to navigation Jump to search
(we agree that sandboxes are a Good Thing)
(different colour for eps)
Line 1: Line 1:
 
<noinclude>Params are as follows:
 
<noinclude>Params are as follows:
 +
* type = the type of release. If the release is an album, this parameter is not necessary. If it is an EP, then EP should be entered.
 
* img = name of image of the album cover. Will be resized to 150 pixels width. Use the image name, eg ShopVac.jpg, NOT the image command eg Image:ShopVac.jpg.
 
* img = name of image of the album cover. Will be resized to 150 pixels width. Use the image name, eg ShopVac.jpg, NOT the image command eg Image:ShopVac.jpg.
 
** This param is no longer necessary, but is recommended.
 
** This param is no longer necessary, but is recommended.
Line 11: Line 12:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| align="right" style="border:1px dashed #000;padding:10px;margin:30px;width:256px;"
 
{| align="right" style="border:1px dashed #000;padding:10px;margin:30px;width:256px;"
| colspan="2" align="center" style="background: #ccf;" |'''{{PAGENAME}}'''  
+
| colspan="2" align="center" style="background: #{{#ifeq:{{{type|}}}|EP|f44|ccf}};" |'''{{PAGENAME}}'''  
 
|-
 
|-
 
{{#if: {{{img|}}} |
 
{{#if: {{{img|}}} |

Revision as of 15:48, 18 November 2012

Params are as follows:

  • type = the type of release. If the release is an album, this parameter is not necessary. If it is an EP, then EP should be entered.
  • img = name of image of the album cover. Will be resized to 150 pixels width. Use the image name, eg ShopVac.jpg, NOT the image command eg Image:ShopVac.jpg.
    • This param is no longer necessary, but is recommended.
  • tracks = number of tracks
  • release = release date of the album, preferably in the format mm-dd-yyyy (to keep our American friends happy)
    • Not a mandatory param.
  • catalog = the album's catalog number
    • very very non-mandatory
  • albumlink = link to album page on jonathancoulton.com, eg thing-a-week-i (NOT the full URL eg http://www.jonathancoulton.com/albums/thing-a-week-i) Be sure NOT to include any spaces in albumlink, use %20 instead!
    • Note that for albums which do not appear on jonathancoulton.com, the link is not necessary.