Diferencia entre revisiones de «Plantilla:Navbox»
De Familia Sanchez Arjona
(no longer needed) |
(add div for above/below to fix nested lists in below) |
||
Línea 37: | Línea 37: | ||
-->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | ||
--><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | --><tr><td class="navbox-abovebelow {{{aboveclass|}}}" style="{{{basestyle|}}};{{{abovestyle|}}}" <!-- | ||
− | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"> | + | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> |
− | {{{above}}}</td></tr>}}<!-- | + | {{{above}}}</div></td></tr>}}<!-- |
Línea 252: | Línea 252: | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!-- | ||
--><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | --><tr><td class="navbox-abovebelow {{{belowclass|}}}" style="{{{basestyle|}}};{{{belowstyle|}}}" <!-- | ||
− | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"> | + | -->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}"><div> |
− | {{{below}}}</td></tr>}}<!-- | + | {{{below}}}</div></td></tr>}}<!-- |
Revisión del 15:53 19 nov 2011
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |