Jump to content

Template:Navbox: Difference between revisions

add div for above/below to fix nested lists in below
m>Edokter
(no longer needed)
m>Edokter
(add div for above/below to fix nested lists in below)
Line 37: Line 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>}}<!--




Line 252: Line 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>}}<!--




Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.