Difference between revisions of "Template:LiathTheme"
m |
m |
||
Line 1: | Line 1: | ||
<noinclude><div style="width: 500px;"></noinclude> | <noinclude><div style="width: 500px;"></noinclude> | ||
− | <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; margin-bottom:0px;"> | + | <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; margin-bottom:0px; text-shadow: {{{shadow|0}}}px {{{shadow|0}}}px {{{shadowblur|0}}}px {{shadowcolor|black}}};"> |
<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 34: | Line 34: | ||
| borderwidth = 3 | | borderwidth = 3 | ||
| backcolor = rgba(0,0,128,0.5) | | backcolor = rgba(0,0,128,0.5) | ||
+ | |}}{{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 = white | ||
+ | | bordercolor = silver | ||
+ | | borderwidth = 3 | ||
+ | | backcolor = rgba(0,0,128,0.5) | ||
+ | | shadow = 1 | ||
+ | | shadowblur = 2 | ||
+ | | shadowcolor = black | ||
|}} | |}} | ||
</div><br><br> | </div><br><br> | ||
Line 47: | Line 61: | ||
backcolor = color of background. Use #nnnnnn notation of recognised HTML color codes. Default: backcolor = transparent <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 (comment out or delete the sections you wish to leave on default). |
<pre> | <pre> | ||
<nowiki>{{LiathTheme | <nowiki>{{LiathTheme | ||
Line 60: | Line 74: | ||
| borderwidth = | | borderwidth = | ||
| backcolor = | | backcolor = | ||
+ | | shadow = <!-- offset from text, default 0 --> | ||
+ | | shadowblur = <!-- shadow blur on text, default 0 --> | ||
+ | | shadowcolor = <!-- shadow color of text, default black --> | ||
|}}</nowiki> | |}}</nowiki> | ||
</pre> | </pre> |
Revision as of 07:22, 8 March 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 (comment out or delete the sections you wish to leave on default).
{{LiathTheme | artist = | track = | tracklink = | trackimage = | imagesize = | artistcolor = | trackcolor = | bordercolor = | borderwidth = | backcolor = | shadow = <!-- offset from text, default 0 --> | shadowblur = <!-- shadow blur on text, default 0 --> | shadowcolor = <!-- shadow color of text, default black --> |}}