Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Krevlorn Severasse/template/box: Difference between revisions

From EVE University Wiki
Created page with "<noinclude> Simple Box used in other Templates '''Parameters''' #. ''background'' = background colour in Hex #. ''color'' = Text Colour #. ''border'' = css border property #..."
 
No edit summary
Line 9: Line 9:
#. ''width''  = box width  
#. ''width''  = box width  
#. ''imagewidth'' = picture width for left hand box
#. ''imagewidth'' = picture width for left hand box
#. ''style'' = preset styles
## info = black
## boldinfo = blue
## warning = red
#. param 1 = content for left hand box
#. param 1 = content for left hand box
#. param 2 = content for heading
#. param 2 = content for heading
#. param 3 = content for body
#. param 3 = content for body
{{#switch: {{{style}}} | info = result | boldinfo = result | warning = result| #default = #000000}}


</noinclude>
</noinclude>
<table style="background: {{{background|#000000}}}; color: {{{color|#ffffff}}}; border: {{{border|1px solid #582806}}}; border-radius: 4px; padding: 8px 35px 8px 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-align: center; margin-bottom: 1em" width="{{{width|100%}}}"><tr><td width="{{{imagewidth|60px}}}">{{{1|[[image:E-UNI_Emblem.png|96px|link=https://wiki.eveuniversity.org]]|}}}</td><td>
<table style="background: {{{background|{{#switch: {{{style}}} | info = #301400 | boldinfo = result | warning = #910b0b| #default = #000000}}}}}; color: {{{color|#ffffff}}}; border: {{{border|1px solid #582806}}}; border-radius: 4px; padding: 8px 35px 8px 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; text-align: center; margin-bottom: 1em" width="{{{width|100%}}}"><tr><td width="{{{imagewidth|60px}}}">{{{1|[[image:E-UNI_Emblem.png|96px|link=https://wiki.eveuniversity.org]]|}}}</td><td>
<div style="margin-bottom: 0.3em;"><strong>{{{2}}}</strong></div>
<div style="margin-bottom: 0.3em;"><strong>{{{2}}}</strong></div>
<div style="margin: 0 auto; max-width: 800px">{{{3}}}</div>
<div style="margin: 0 auto; max-width: 800px">{{{3}}}</div>