Differenze tra le versioni di "Template:Cartella"

Da WikiBotanica.
Riga 1: Riga 1:
 
<includeonly>{| style="width:100%; margin-bottom:.5em; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0"
 
<includeonly>{| style="width:100%; margin-bottom:.5em; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0"
 
<!-- 1 -->
 
<!-- 1 -->
| rowspan="{{ #if:{{{link|}}}|2|1}}" nowrap="nowrap" width="{{ #if:{{{link|}}}|1%"|100%" colspan="2"}} height="37px" valign="top" style="background:#FFF; border:2px solid #{{#switch:{{{1|}}}|blu=ABCDEF|grigio=CCC|verde=aae0c0|viola=C2D3FC|arancione=FFBC79|rosso=F26C6C|ABCDEF}}; border-bottom:0; padding:0; padding-right:1em; margin:0; border-top-right-radius:.5em; border-top-left-radius:.5em;" | <div style="margin-top:0px">[[Image:cartella_{{#switch:{{{1|}}}|blu=blu|grigio=grigia|verde=verde|viola=viola|arancione=arancione|rosso=rossa|blu}}.jpg|none]] <div style="margin-top:-31px; padding-left:12px">[[Image:{{{logo|Nuvola apps kalzium.png}}}|{{{px|22}}}px]]</div><div style="padding-left:43px; margin-top:-{{{heightpx|{{#expr:{{{px|26}}} + 4}}}}}px; font-size:130%">'''{{{titolo}}}'''</div>
+
| rowspan="{{ #if:{{{link|}}}|2|1}}" nowrap="nowrap" width="{{ #if:{{{link|}}}|1%"|100%" colspan="2"}} height="37px" valign="top" style="background:#FFF; border:2px solid #{{#switch:{{{1|}}}|blu=ABCDEF|grigio=CCC|verde=aae0c0|viola=C2D3FC|arancione=FFBC79|rosso=F26C6C|ABCDEF}}; border-bottom:0; padding:0; padding-right:1em; margin:0; border-top-right-radius:.5em; border-top-left-radius:.5em;" | <div style="margin-top:0px">[[Image:cartella_{{#switch:{{{1|}}}|blu=blu|grigio=grigia|verde=verde|viola=viola|arancione=arancione|rosso=rossa|blu}}.jpg|none]] <div style="margin-top:-31px; padding-left:12px">[[Image:{{{logo|Nuvola apps kalzium.png}}}|{{{px|22}}}px]]</div><div style="padding-left:43px; margin-top:-{{{heightpx|{{#expr:{{{px|27}}} + 4}}}}}px; font-size:130%">'''{{{titolo}}}'''</div>
 
<!-- 2 -->
 
<!-- 2 -->
 
| {{#if:{{{link|}}}||class="hiddenStructure noprint"}} height="10px" |
 
| {{#if:{{{link|}}}||class="hiddenStructure noprint"}} height="10px" |

Versione delle 14:36, 15 giu 2015