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; color:#333;">{{{headline}}}</div></div>
 
  #if: {{{picturesize|}}}|{{#expr: {{{picturesize}}} + 3}}|38}}px; color:#333;">{{{headline}}}</div></div>
-->
 
#if: {{{picturesize|}}}|38px; 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}}}
 
</div>
 
</div>

Revision as of 09:46, 31 July 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)
}}