Template:Navbox: Difference between revisions

    From Nonbinary Wiki
    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>}}<!--





    Revision as of 13:53, 19 November 2011

    Template documentation[create]