Difference between revisions of "Template: FrontpageBox~"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 19: Line 19:
 
<div style="padding-left: {{
 
<div style="padding-left: {{
 
  #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; font: 140%/130% Georgia;  color: #3366CC;">{{{headline}}}</div></div>
 
  #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; font: 140%/130% Georgia;  color: #3366CC;">{{{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|0em 0.5em 0.5em 0.5em}}}">
 
</div>
 
</div>
 
{{{content}}}
 
{{{content}}}

Revision as of 12:00, 1 August 2011

[[Image:{{{picture}}}|left|35px|link=]]
{{{headline}}}

{{{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)
}}