User:The Crusader of Truth/Shadow And Background

This page is for providing background images and a shadow onto pages. Feel free to take this code and use it yourself it you want. To create this on your page by default, it would resemble the following:

{{User:The_Crusader_of_Truth/Shadow_And_Background


 * image   = (Image goes here)


 * color   = rgba(0,0,0,0.45)


 * position = top


 * shadow  = 1%


 * shadow2 = 25%


 * shadow3 = 100%


 * shadow4 = 100%


 * size    = 705px


 * pleft   = 10px


 * pright  = 10px

The template for this layout is below:
 * content =

<div style = "font-family: {{{font|'Droid Sans'}}}; background: -webkit-linear-gradient({{{position|top}}}, {{{shadowcolor1|rgba(0,0,0,0)}}} {{{shadow|0%}}}, {{{shadowcolor2|rgba(0,0,0,0.65)}}} {{{shadow2|0%}}}, {{{shadowcolor3|rgba(0,0,0,.75)}}} {{{shadow3|0%}}}, {{{shadowcolor4|rgba(0,0,0,0.1)}}} {{{shadow4|0%}}}); background-color: {{{color|rgba(0,0,0,0.55)}}}; padding-left: {{{pleft|10px}}}; padding-right: {{{pright|10px}}}; padding-bottom: {{{pbottom|10px}}}; padding-top: {{{ptop|15px}}}; position: relative;"> {{{content|}}}