Template:Licence box: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas m (experiment) |
imported>Caesar Schinas mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style=" | <div style="clear:both; margin:0.5em auto; padding:2px 1px 1px; background:#{{Licence box/colour|{{{colour}}}|title}}; border:1px solid #{{Licence box/colour|{{{colour}}}|lines}}; -moz-border-radius:4px; -webkit-border-radius:4px;"> | ||
<div style="float:left; padding:{{#ifexpr:{{{icon-height}}}< | <div style="float:left; margin:0 1px; padding:{{#ifexpr:{{{icon-height|{{{icon-width}}}}}}<31|{{#expr:(31-{{{icon-height|{{{icon-width}}}}}})/2}}px|0}} {{#ifexpr:{{{icon-width}}}<37|{{#expr:(37-{{{icon-width}}})/2}}px|0}}">{{#if:{{{icon-url|}}}|{{clickurl|image={{{icon}}}|link={{{icon-url}}}|width={{{icon-width}}}px|height={{{icon-height|{{{icon-width}}}}}}px}}|[[Image:{{{icon}}}|{{{icon-width}}}px]]}}</div> | ||
<p style="line-height:33px; margin:0; padding:0 5px 0 {{#ifexpr:{{{icon-width}}}<35|40px|{{#expr:{{{icon-width}}}+7}}px}}; font-weight:bold; font-size:large;"> | |||
<p style="line-height:33px; margin:0; padding:0 5px 0 {{#ifexpr:{{{icon-width}}}<35|40px|{{#expr:{{{icon-width}}}+ | |||
{{{title}}} | {{{title}}} | ||
</p> | </p> | ||
<p style="margin:0; padding:5px 5px 5px {{#ifexpr:{{{icon-width}}}<35|40px|{{#expr:{{{icon-width}}}+ | <p style="margin:0; padding:5px 5px 5px {{#ifexpr:{{{icon-width}}}<35|40px|{{#expr:{{{icon-width}}}+7}}px}}; font-size:small; line-height:1.7em; background:#{{Licence box/colour|{{{colour}}}|main}}; border:1px solid #{{Licence box/colour|{{{colour}}}|lines}}; -moz-border-radius:3px; -webkit-border-radius:3px;"> | ||
{{{text}}} | {{{text}}} | ||
</p> | </p> | ||
</div> | </div> |
Latest revision as of 07:02, 30 May 2009
<div style="float:left; margin:0 1px; padding:Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".">[[Image:{{{icon}}}|{{{icon-width}}}px]]
<p style="line-height:33px; margin:0; padding:0 5px 0 Expression error: Unrecognized punctuation character "{".; font-weight:bold; font-size:large;"> {{{title}}}
<p style="margin:0; padding:5px 5px 5px Expression error: Unrecognized punctuation character "{".; font-size:small; line-height:1.7em; background:#; border:1px solid #; -moz-border-radius:3px; -webkit-border-radius:3px;"> {{{text}}}