Template:Licence box: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>Caesar Schinas
mNo edit summary
Line 1: Line 1:
<div style="width:100%; clear:both; margin:0.5em auto; background:#{{Licence box/colour|{{{colour}}}|border}}; border:2px solid #{{Licence box/colour|{{{colour}}}|border}}; -moz-border-radius:4px; -webkit-border-radius:4px;">
<div style="width:100%; clear:both; margin:0.5em auto; background:#{{Licence box/colour|{{{colour}}}|border}}; border:2px solid #{{Licence box/colour|{{{colour}}}|border}}; -moz-border-radius:4px; -webkit-border-radius:4px;">
<div style="float:left; padding:0 {{#ifexpr:{{{icon-width}}}<35|{{#expr:(35-{{{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>
<div style="float:left; padding:{{#ifexpr:{{{icon-height}}}<33|{{#expr:(33-{{{icon-height}}})/2}}px|0}} {{#ifexpr:{{{icon-width}}}<35|{{#expr:(35-{{{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}}}+5}}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}}}+5}}px}}; font-weight:bold; font-size:large;">
{{{title}}}
{{{title}}}

Revision as of 09:48, 29 May 2009

<div style="float:left; 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:smaller; line-height:1.7em; background:#; -moz-border-radius:1px; -webkit-border-radius:1px;"> {{{text}}}