Difference between revisions of "Template: FrontpageBox~"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 18: Line 18:
 
<div style="position: absolute; top: 0; left: 0;">[[Image:{{{picture}}}|left|{{{picturesize|35}}}px|link=]]</div>
 
<div style="position: absolute; top: 0; left: 0;">[[Image:{{{picture}}}|left|{{{picturesize|35}}}px|link=]]</div>
 
<div style="padding-left: {{
 
<div style="padding-left: {{
  #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; font: 140%/130% Georgia;  color: #000000;">{{{headline}}}</div></div>
+
  #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px;font-weight:bold; font: 140%/130% Georgia;  color: #000000;">{{{headline}}}</div></div>
 
<div style="clear: both; font-size: 95%; margin: {{{margin|0em 0.5em 0em 0.5em}}}">
 
<div style="clear: both; font-size: 95%; margin: {{{margin|0em 0.5em 0em 0.5em}}}">
 
</div>
 
</div>

Revision as of 13:28, 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)
}}