Template:Navbox with columns: Difference between revisions
From Vigyanwiki
Template>Matt Fitzpatrick (navbox-list class on cols (make sure they get border-top)) |
Template>WOSlinker (fix tr tags) |
||
Line 127: | Line 127: | ||
--- Main columns--- | --- Main columns--- | ||
--><tr style="vertical-align:top;"><!-- | |||
-->{{#if:{{{col1|}}}|<!-- | -->{{#if:{{{col1|}}}|<!-- | ||
-->{{#if:{{{col1header|}}}{{{col1footer|}}}{{{fullwidth|}}}|<!-- | -->{{#if:{{{col1header|}}}{{{col1footer|}}}{{{fullwidth|}}}|<!-- | ||
-->|{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!-- | -->|{{#switch:{{{padding|}}}|off|0|0em|0px|0%|0;|0em;|0px;|0%;=<!-- | ||
-->|#default=<td style="width:{{{padding|5em}}};"> </td>}}}}<!-- | -->|#default=<td style="width:{{{padding|5em}}};"> </td>}}}}<!-- | ||
--><td class="navbox-list" style="padding:0px;<!-- | --><td class="navbox-list" style="padding:0px;<!-- | ||
-->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div> | -->{{{colstyle|}}};{{{oddcolstyle|}}};{{{col1style|}}};width:{{{col1width|{{{colwidth|10em}}}}}};"><div> | ||
Line 235: | Line 233: | ||
</div></td>}}<!-- | </div></td>}}<!-- | ||
--></tr><!-- | |||
Line 302: | Line 302: | ||
-->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col20footerstyle|}}}">{{{col20footer}}}</td>}}<!-- | -->border-left:2px solid #fdfdfd;font-weight:bold;{{{colfooterstyle|}}};{{{col20footerstyle|}}}">{{{col20footer}}}</td>}}<!-- | ||
-- | -->}}<!-- | ||
--></tr></table> | --></tr></table> |
Revision as of 18:19, 5 August 2017
Template documentation
[create]