Difference between revisions of "Template: FrontpageBox"
From Teknologisk videncenter
m (New page: <div style="background-color: #{{{bgfarve|FAFAFF}}}; width: {{{bredde|100}}}%; border: 1px #{{ #switch:{{{farvekombination}}} |1=AFCCEB |2=F5DF9A |3=D2D2F0 }} solid; margin-bottom: 5p...) |
m |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="background-color: #{{{ | + | <div style="background-color: #{{{bgcolor|FAFAFF}}}; width: {{{width|98}}}%; border: #{{ |
− | #switch:{{{ | + | #switch:{{{colorcombination}}} |
|1=AFCCEB | |1=AFCCEB | ||
|2=F5DF9A | |2=F5DF9A | ||
|3=D2D2F0 | |3=D2D2F0 | ||
− | }} solid; margin-bottom: | + | |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;"> | ||
<div style="height: 16pt; background-color: #{{ | <div style="height: 16pt; background-color: #{{ | ||
− | #switch:{{{ | + | #switch:{{{colorcombination}}} |
|1=AFCCEB | |1=AFCCEB | ||
|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:{{{ | + | #switch:{{{colorcombination}}} |
|1=81A7D1 | |1=81A7D1 | ||
|2=CDB772 | |2=CDB772 | ||
|3=AAAAC8 | |3=AAAAC8 | ||
− | }} | + | |4=EFEFEF |
− | <div style="position: absolute; top: 0; left: 0;">[[Image:{{{ | + | |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;"> | ||
+ | <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: {{{ | + | #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| | + | <div style="clear: both; font-size: 95%; margin: {{{margin|0em 0.5em 0em 0.5em}}}"> |
− | |||
</div> | </div> | ||
− | {{#if: {{{ | + | {{{content}}} |
− | #switch:{{{ | + | {{#if: {{{bottombox|}}}|<div style="background-color: #{{ |
+ | #switch:{{{colorcombination}}} | ||
|1=D9E6F3 | |1=D9E6F3 | ||
|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:{{{ | + | #switch:{{{colorcombination}}} |
|1=AFCCEB | |1=AFCCEB | ||
|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 |
− | | | + | }} 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> |
− | | | ||
− | | | ||
− | | | ||
− | }} | ||
− | |||
− | |||
− | ---- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <noinclude> | |
+ | For help see [[Template:FrontpageBox/Doc]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:12, 10 August 2011
[[Image:{{{picture}}}|left|35px|link=]]
{{{headline}}}
{{{content}}}
For help see Template:FrontpageBox/Doc