Difference between revisions of "Template: FrontpageBox"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 4: Line 4:
 
  |2=F5DF9A
 
  |2=F5DF9A
 
  |3=D2D2F0
 
  |3=D2D2F0
  }} solid; margin-bottom: 5px;margin-left:-1px; border-radius:0.7em; -moz-border-radius:0.7em; -webkit-border-radius:0.7em;z-index: 2;">
+
  }} solid; margin-bottom: 5px;margin-left:-1px; border-radius:0.7em; -moz-border-radius:0.7em; -webkit-border-radius:0.7em;z-index: 1;">
 
<div style="height: 16pt; background-color: #{{
 
<div style="height: 16pt; background-color: #{{
 
  #switch:{{{colorcombination}}}
 
  #switch:{{{colorcombination}}}
Line 15: Line 15:
 
  |2=CDB772
 
  |2=CDB772
 
  |3=AAAAC8
 
  |3=AAAAC8
  }}; border-style: solid; font: 11pt; font-weight: bolder; position: relative;border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px;border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px;z-index: 1;">
+
  }}; border-style: solid; font: 11pt; font-weight: bolder; position: relative;border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px;border-top-left-radius:5px; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px;z-index: 2;">
 
<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: {{

Revision as of 12: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)
}}