Difference between revisions of "Template:AlbumDetails"

From JoCopedia
Jump to navigation Jump to search
(DHmbWbNsNjtGjVa)
(Undo revision 16374 by 79.120.193.50 (talk))
Line 1: Line 1:
Superbly illuminaitng data here, thanks!
+
<noinclude>Params are as follows:
 +
* 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.
 +
* 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.
 +
</noinclude><includeonly>{| align="right" style="border:1px solid gray;padding:10px;margin:30px"
 +
| colspan="2" align="center" | '''{{PAGENAME}}'''
 +
|-
 +
{{#if: {{{img|}}} |
 +
{{!}} colspan="2" align="center" padding="20" {{!}} [[Image:{{{img}}}{{!}}150px]]
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{artist|}}} |
 +
{{!}} Artist: {{!!}} {{{artist}}}
 +
{{!}}-
 +
}}
 +
| Tracks: || {{{tracks}}}
 +
|-
 +
{{#if: {{{release|}}} |
 +
{{!}} Release date: {{!!}} {{{release}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{albumlink|}}} |
 +
{{!}} colspan="2" align="center" {{!}} [http://www.jonathancoulton.com/albums/{{{albumlink}}} More info]
 +
{{!}}
 +
}}
 +
|}[[Category:Albums]]</includeonly>

Revision as of 14:46, 19 September 2011

Params are as follows:

  • 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.
  • 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.