Difference between revisions of "Template: FrontpageBox~"
From Teknologisk videncenter
m |
m |
||
| Line 19: | Line 19: | ||
<div style="padding-left: {{ | <div style="padding-left: {{ | ||
#if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; color:#333;">{{{headline}}}</div></div> | #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; color:#333;">{{{headline}}}</div></div> | ||
| + | --> | ||
<div style="clear: both; font-size: 95%; margin: {{{margin|1.5em 0.5em 0.5em 0.5em}}}"> | <div style="clear: both; font-size: 95%; margin: {{{margin|1.5em 0.5em 0.5em 0.5em}}}"> | ||
{{{content}}} | {{{content}}} | ||
| Line 35: | Line 36: | ||
}} 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>}} | }} 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>}} | ||
</div> | </div> | ||
| − | |||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
Revision as of 06:48, 1 August 2011
{{{content}}}
{{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)
}}