Difference between revisions of "Template: FrontpageBox~"

From Teknologisk videncenter
Jump to: navigation, search
m (Undo revision 18653 by Heth (talk))
m
Line 16: Line 16:
 
  |3=AAAAC8
 
  |3=AAAAC8
 
  }}; 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;">
 
  }}; 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;">
<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>
Line 35: Line 35:
 
  }} 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>}}
 
  }} 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>}}
 
</div>
 
</div>
 
+
-->
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>

Revision as of 07:47, 1 August 2011

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