Difference between revisions of "Template: FrontpageBox~"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 20: Line 20:
 
  #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|1.5em 0.5em 0.5em 0.5em}}}">
 +
</div>
 
{{{content}}}
 
{{{content}}}
</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 12:58, 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)
}}