Difference between revisions of "Template:SongDetails"
Jump to navigation
Jump to search
Angelastic (talk | contribs) (I had a crazy idea in the middle of the night and got out of bed to try it. Behold, the (probably borked and about to be reverted) TAW Redux link!) |
(float attempt) |
||
Line 32: | Line 32: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{#if: {{{songlink|}}}|<div style="margin-top:-24px;margin-bottom:-18px;margin-left:0;">{{#song:{{{songlink}}} }}</div> }} | + | {{#if: {{{songlink|}}}|<div style="margin-top:-24px;margin-bottom:-18px;margin-left:0;float:left;">{{#song:{{{songlink}}} }} |
+ | |||
+ | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Lyrics}} | | ||
+ | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Tabs}} | | ||
+ | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Videos}} | | ||
+ | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Concerts}} | ||
+ | |||
+ | </div> }} | ||
{{#if: {{{demosonglink|}}}| <br/>Demo version: {{#song:{{{demosonglink}}} }} }} | {{#if: {{{demosonglink|}}}| <br/>Demo version: {{#song:{{{demosonglink}}} }} }} | ||
Line 49: | Line 56: | ||
{{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Concerts}}<br /> | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Concerts}}<br /> | ||
{{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Other media}}</td></tr>{{#if: {{{bloglink|}}}| <tr><td colspan="2" style="text-align:center">[[joco:{{{bloglink}}}|Blog entry]]</td></tr>}}{{#if: {{{reduxlink|}}}| <tr><td colspan="2" style="text-align:center">[http://thingaweekredux.com/post/{{{reduxlink}}} Redux entry]</td></tr>}}</table>[[Category:Songs]]</includeonly> | {{Song Subpage Linker | basepage={{PAGENAME}} | subpage = Other media}}</td></tr>{{#if: {{{bloglink|}}}| <tr><td colspan="2" style="text-align:center">[[joco:{{{bloglink}}}|Blog entry]]</td></tr>}}{{#if: {{{reduxlink|}}}| <tr><td colspan="2" style="text-align:center">[http://thingaweekredux.com/post/{{{reduxlink}}} Redux entry]</td></tr>}}</table>[[Category:Songs]]</includeonly> | ||
+ | |||
+ | {{#if: {{{songlink|}}}|<br clear="all" /> }} |
Revision as of 11:17, 17 November 2011
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 +. We'll add the "http://www.jonathancoulton.com/songdetails/" part.
- Example: Shop+Vac
- Note that for songs which do not appear on jonathancoulton.com, this link isn't necessary.
- demosonglink
- Like songlink, but with a demo version of the song.
- Example: The+Future+Soon+(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: 2005/10/07/thing-a-week-4-shop-vac/
- reduxlink
- A link to the Thing A Week Redux entry regarding this song, in the format 7385894801/thing-a-week-41-seahorse-i-was-thinking-about. We'll add the "http://thingaweekredux.com/post/".
- Example: 7385894801/thing-a-week-41-seahorse-i-was-thinking-about
None of the parameters are strictly necessary, although of course including the template with none defined is pretty useless.