Diferencia entre revisiones de «Plantilla:Side box»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
m (Protected Template:Side box: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(allow image=none)
Línea 1: Línea 1:
 
<table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
<table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
<tr>
 
<tr>
{{#if:{{{image|}}}
+
{{#switch:{{{image|}}}
 +
|<!--BLANK-->|none={{td}}
 
|<td class="mbox-image">{{{image}}}</td>
 
|<td class="mbox-image">{{{image}}}</td>
|<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
 
 
}}
 
}}
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>

Revisión del 18:00 28 dic 2008

Plantilla:Td

Plantilla:Pp-template

50px Template documentation[create]