Difference between revisions of "Template:SongDetails"
Jump to navigation
Jump to search
m ("Fan content" capitalization fixed) |
m ("Interwiki-ing" the blog/song links) |
||
Line 46: | Line 46: | ||
</tr> | </tr> | ||
{{#if: {{{bloglink|}}} | {{#if: {{{bloglink|}}} | ||
− | | <tr><td colspan="2" style="text-align:center">[ | + | | <tr><td colspan="2" style="text-align:center">[[joco:{{{bloglink}}}|Blog entry]]</td></tr> |
}} | }} | ||
{{#if: {{{songlink|}}} | {{#if: {{{songlink|}}} | ||
− | | <tr><td colspan="2" style="text-align:center">[ | + | | <tr><td colspan="2" style="text-align:center">[[joco:songdetails/{{{songlink}}}|{{PAGENAME}} in the JoCo store]]</td></tr> |
}} | }} | ||
{{#if: {{{demosonglink|}}} | {{#if: {{{demosonglink|}}} | ||
− | | <tr><td colspan="2" style="text-align:center">[ | + | | <tr><td colspan="2" style="text-align:center">[[joco:songdetails/{{{demosonglink}}}|Demo of {{PAGENAME}} in the JoCo store]]</td></tr> |
}} | }} | ||
</table> | </table> | ||
[[Category:Songs]] | [[Category:Songs]] | ||
</includeonly> | </includeonly> |
Revision as of 16:28, 6 May 2008
Template parameters
- img
- Name of image representing the song. The image will be resized to 150 pixels in width.
- Example: ShopVac.jpg
- Remember to use only the filename; we'll generate all the Wiki code to go around it.
- albumname
- Name of album
- Example: Where Tradition Meets Tomorrow
- length
- Length of song, in format m:ss (or mm:ss for songs over 10 minutes)
- Example: 3:49
- Another example: 0:48
- release
- Release date of the song, preferably in the format mm-dd-yyyy (to keep our American friends happy)
- Example: 09-16-2005
- songlink
- A link to song page on jonathancoulton.com. Just type in the name as it appears in the store, replacing each space with %20. We'll add the "http://www.jonathancoulton.com/songdetails/" part.
- Example: Shop%20Vac
- Note that for songs which do not appear on jonathancoulton.com, this link isn't longer necessary.
- demosonglink
- Like songlink, but with a demo version of the song.
- Example: The%20Future%20Soon%20(Demo)
- Make sure the word "Demo" is capitalized!
- bloglink
- A link to the blog entry regarding this song, in the format 2005/10/07/thing-a-week-4-shop-vac/. We'll add the "http://www.jonathancoulton.com".
- Example: /10/07/thing-a-week-4-shop-vac/
None of the parameters are strictly necessary, although of course including the template with none defined is pretty useless.