Difference between revisions of "Template: FrontpageBox~"
From Teknologisk videncenter
m |
|||
| Line 22: | Line 22: | ||
{{{content}}} | {{{content}}} | ||
</div> | </div> | ||
| + | |||
| + | <div style="background-color: #{{ | ||
| + | #switch:{{{colorcombination}}} | ||
| + | |1=D9E6F3 | ||
| + | |2=FFF0CD | ||
| + | |3=E3E3F5 | ||
| + | }}; border-top: #{{ | ||
| + | #switch:{{{colorcombination}}} | ||
| + | |1=AFCCEB | ||
| + | |2=F5DF9A | ||
| + | |3=D2D2F0 | ||
| + | }} 1px solid; text-align: right; font-size: 90%; padding-right: 0.5em;border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px;border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px;">{{{bottombox}}}</div> | ||
{{#if: {{{bottombox|}}}|<div style="background-color: #{{ | {{#if: {{{bottombox|}}}|<div style="background-color: #{{ | ||
Revision as of 11:56, 1 August 2011
[[Image:{{{picture}}}|left|35px|link=]]
{{{headline}}}
{{{content}}}
{{{bottombox}}}
{{FrontpageBox
|colorcombination = 1(blue) 2(yellow) 3(purple)
|width = box width in percent - (Optional)
|picture =
|picturesize = in px (Optional)
|headline = Headline in top box
|margin = textmargin to boxedge - (Optional)
|bgcolor = (box backgroung color - (Optional)
|content = The main content of the box
|bottombox = (Optional)
}}