Difference between revisions of "Template:LiathTheme"
(Created page with "<table style="width:100%; border: {{{borderwidth|3}}}px solid {{{bordercolor|black}}}; border-top-right-radius:25px; border-bottom-right-radius:25px; padding:0px; margin:5px;"...") |
|||
Line 1: | Line 1: | ||
+ | <noinclude><div style="width: 500px;"></noinclude> | ||
<table style="width:100%; border: {{{borderwidth|3}}}px solid {{{bordercolor|black}}}; border-top-right-radius:25px; border-bottom-right-radius:25px; padding:0px; margin:5px;"> | <table style="width:100%; border: {{{borderwidth|3}}}px solid {{{bordercolor|black}}}; border-top-right-radius:25px; border-bottom-right-radius:25px; padding:0px; margin:5px;"> | ||
<tr> | <tr> | ||
− | <td rowspan=2 style="height:{{{imagesize|50}}}px; min-height:50px; width:{{{imagesize|50}}}px; min-width:50px; border-radius:15px; border 0px; font-size:0px;">[[File:{{{trackimage| | + | <td rowspan=2 style="height:{{{imagesize|50}}}px; min-height:50px; width:{{{imagesize|50}}}px; min-width:50px; border-radius:15px; border 0px; font-size:0px;">[[File:{{{trackimage|Liath_Music.png}}}|{{{imagesize|50}}}px|link={{{tracklink|File:Liath_Music.png}}}]]</td> |
− | <td style="width:99%; height:50%; color:{{{artistcolor|#800000;}}}"><b>{{{artist|}}}</b></td> | + | <td style="width:99%; height:50%; color:{{{artistcolor|#800000;}}}"><b>{{{artist|Artist/Band Name}}}</b></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | <td style="width:99%; height:50%; color:{{{trackcolor|#000080;}}}"><b>{{{track|}}}</b></td> | + | <td style="width:99%; height:50%; color:{{{trackcolor|#000080;}}}"><b>{{{track|Song/Track Name}}}</b></td> |
</tr> | </tr> | ||
</table> | </table> | ||
+ | <noinclude> | ||
+ | </div> | ||
+ | <div style="width: 500px;"> | ||
+ | <br><br><b>Example:</b> | ||
+ | {{LiathTheme | ||
+ | | artist = Paolo Nutini | ||
+ | | track = New Shoes | ||
+ | | tracklink = http://www.youtube.com/watch?v=hmbUNF1Q4R8 | ||
+ | | trackimage = Liath_PauloNutini_NewShoes.jpg | ||
+ | | imagesize = 50 | ||
+ | | artistcolor = blue | ||
+ | | trackcolor = red | ||
+ | | bordercolor = silver | ||
+ | | borderwidth = 3 | ||
+ | |}} | ||
+ | </div><br><br> | ||
+ | artist = The name of the artist or band.<br> | ||
+ | track = The name of the track or song<br> | ||
+ | tracklink = link address to the track or song e.g http://www.youtube.com/watch?v=hmbUNF1Q4R8 | ||
+ | trackimage = name of the image file associated with your song. if you do not have a specific image comment out this section <!--trackimage = --> to use the default icon | ||
+ | imagesize = height/width to display the image at. Default is 50 x 50 if you wish to have a larger image e.g imagesize = 100. | ||
+ | artistcolor = color of artist text. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #800000 <br> | ||
+ | trackcolor = color of track title text. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000080 <br> | ||
+ | bordercolor = color of border. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000000 <br> | ||
+ | borderwidth = width of border. Set to 0 for no border (no px required). Default: border = 3 <br> | ||
+ | <br><br><br><br> | ||
+ | Copy the following onto your page and fill out the appropriate information. | ||
+ | <pre> | ||
+ | <nowiki>{{LiathTheme | ||
+ | | artist = | ||
+ | | track = | ||
+ | | tracklink = | ||
+ | | trackimage = | ||
+ | | imagesize = | ||
+ | | artistcolor = | ||
+ | | trackcolor = | ||
+ | | bordercolor = | ||
+ | | borderwidth = | ||
+ | |}}</nowiki> | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | </noinclude> |
Revision as of 14:00, 30 January 2014
Example:
artist = The name of the artist or band.
track = The name of the track or song
tracklink = link address to the track or song e.g http://www.youtube.com/watch?v=hmbUNF1Q4R8
trackimage = name of the image file associated with your song. if you do not have a specific image comment out this section to use the default icon
imagesize = height/width to display the image at. Default is 50 x 50 if you wish to have a larger image e.g imagesize = 100.
artistcolor = color of artist text. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #800000
trackcolor = color of track title text. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000080
bordercolor = color of border. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000000
borderwidth = width of border. Set to 0 for no border (no px required). Default: border = 3
Copy the following onto your page and fill out the appropriate information.
{{LiathTheme | artist = | track = | tracklink = | trackimage = | imagesize = | artistcolor = | trackcolor = | bordercolor = | borderwidth = |}}