Diferencia entre revisiones de «Plantilla:Side box»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(remove {{pp-template}} since included in {{documentation}})
(add support for {{{above}} per talk)
Línea 1: Línea 1:
 
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 +
{{#if:{{{above|}}}
 +
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}">
 +
{{{above}}}</td></tr>
 +
}}
 
<tr>
 
<tr>
 
{{#switch:{{{image|}}}
 
{{#switch:{{{image|}}}
Línea 5: Línea 9:
 
|#default=<td class="mbox-image">{{{image}}}</td>
 
|#default=<td class="mbox-image">{{{image}}}</td>
 
}}
 
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
+
<td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
 
| <td class="mbox-imageright">{{{imageright}}}</td>
 
| <td class="mbox-imageright">{{{imageright}}}</td>
Línea 11: Línea 15:
 
</tr>
 
</tr>
 
{{#if:{{{below|}}}
 
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
+
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}">{{{below}}}</td></tr>
 
}}
 
}}
</table><noinclude>
+
</table><noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc subpage --></noinclude>
 
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revisión del 16:25 15 ago 2012

Plantilla:Td
50px Template documentation[create]