Difference between revisions of "Template:LiathTheme"
Line 1: | Line 1: | ||
<noinclude><div style="width: 500px;"></noinclude> | <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%; background-color:{{{backcolor|transparent}}}; 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|Liath_Music.png}}}|{{{imagesize|50}}}px|link={{{tracklink|File:Liath_Music.png}}}]]</td> | <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> | ||
Line 23: | Line 23: | ||
| bordercolor = silver | | bordercolor = silver | ||
| borderwidth = 3 | | borderwidth = 3 | ||
+ | |}}{{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 | ||
+ | | backcolor = rgba(0,0,128,0.5) | ||
|}} | |}} | ||
</div><br><br> | </div><br><br> | ||
Line 34: | Line 45: | ||
bordercolor = color of border. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000000 <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> | borderwidth = width of border. Set to 0 for no border (no px required). Default: border = 3 <br> | ||
+ | backcolor = color of background. Use #nnnnnn notation of recognised HTML color codes. Default: backcolor = transparent <br> | ||
<br><br><br><br> | <br><br><br><br> | ||
Copy the following onto your page and fill out the appropriate information. | Copy the following onto your page and fill out the appropriate information. | ||
Line 47: | Line 59: | ||
| bordercolor = | | bordercolor = | ||
| borderwidth = | | borderwidth = | ||
+ | | backcolor = | ||
|}}</nowiki> | |}}</nowiki> | ||
</pre> | </pre> |
Revision as of 15:08, 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
backcolor = color of background. Use #nnnnnn notation of recognised HTML color codes. Default: backcolor = transparent
Copy the following onto your page and fill out the appropriate information.
{{LiathTheme | artist = | track = | tracklink = | trackimage = | imagesize = | artistcolor = | trackcolor = | bordercolor = | borderwidth = | backcolor = |}}