Difference between revisions of "Template: FrontpageBox~"
From Teknologisk videncenter
m |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="background-color: #{{{bgcolor|FAFAFF}}}; width: {{{width| | + | <div style="background-color: #{{{bgcolor|FAFAFF}}}; width: {{{width|98}}}%; border: #{{ |
#switch:{{{colorcombination}}} | #switch:{{{colorcombination}}} | ||
|1=AFCCEB | |1=AFCCEB | ||
|2=F5DF9A | |2=F5DF9A | ||
|3=D2D2F0 | |3=D2D2F0 | ||
+ | |4=B7B7B7 | ||
+ | |5=2FABFF | ||
+ | |6=77E0E8 | ||
+ | |7=99B3FF | ||
+ | |8=CCCC00 | ||
+ | |9=FF7F7F | ||
+ | |10=FF9FC0 | ||
+ | |11=CF8FFF | ||
+ | |#default=6EF7A7 | ||
}} 1px solid; margin-bottom: -10px;margin-left:-1px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> | }} 1px solid; margin-bottom: -10px;margin-left:-1px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> | ||
<div style="height: 16pt; background-color: #{{ | <div style="height: 16pt; background-color: #{{ | ||
Line 10: | Line 19: | ||
|2=F5DF9A | |2=F5DF9A | ||
|3=D2D2F0 | |3=D2D2F0 | ||
+ | |4=BFBFBF | ||
+ | |5=2FABFF | ||
+ | |6=77E0E8 | ||
+ | |7=99B3FF | ||
+ | |8=FFFF00 | ||
+ | |9=FF3F3F | ||
+ | |10=FF9FC0 | ||
+ | |11=CF8FFF | ||
+ | |#default=6EF7A7 | ||
}}; border: 0px; border-bottom: 1px #{{ | }}; border: 0px; border-bottom: 1px #{{ | ||
#switch:{{{colorcombination}}} | #switch:{{{colorcombination}}} | ||
Line 15: | Line 33: | ||
|2=CDB772 | |2=CDB772 | ||
|3=AAAAC8 | |3=AAAAC8 | ||
+ | |4=EFEFEF | ||
+ | |5=DFF2FF | ||
+ | |6=D0F8FF | ||
+ | |7=E0E8FF | ||
+ | |8=FFFF99 | ||
+ | |9=FFDFDF | ||
+ | |10=FFDFEF | ||
+ | |11=F1DFFF | ||
+ | |#default=C5FCDC | ||
}}; font: 11pt; font-weight: bolder; position: relative;border-top-right-radius:4px; -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px;border-top-left-radius:4px; -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px;"> | }}; font: 11pt; font-weight: bolder; position: relative;border-top-right-radius:4px; -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px;border-top-left-radius:4px; -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px;"> | ||
<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; text-align: center;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> | ||
Line 29: | Line 56: | ||
|2=FFF0CD | |2=FFF0CD | ||
|3=E3E3F5 | |3=E3E3F5 | ||
+ | |4=EFEFEF | ||
+ | |5=DFF2FF | ||
+ | |6=D0F8FF | ||
+ | |7=E0E8FF | ||
+ | |8=FFFF99 | ||
+ | |9=FFDFDF | ||
+ | |10=FFDFEF | ||
+ | |11=F1DFFF | ||
+ | |#default=C5FCDC | ||
}}; border-top: #{{ | }}; border-top: #{{ | ||
#switch:{{{colorcombination}}} | #switch:{{{colorcombination}}} | ||
Line 34: | Line 70: | ||
|2=F5DF9A | |2=F5DF9A | ||
|3=D2D2F0 | |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>}} | + | |4=BFBFBF |
+ | |5=2FABFF | ||
+ | |6=77E0E8 | ||
+ | |7=99B3FF | ||
+ | |8=FFFF00 | ||
+ | |9=FF3F3F | ||
+ | |10=FF9FC0 | ||
+ | |11=CF8FFF | ||
+ | |#default=6EF7A7 | ||
+ | }} 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> | ||
Latest revision as of 08:08, 2 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) }}