Template:Navbox with columns: Difference between revisions

From Vigyanwiki
Template>Matt Fitzpatrick
(navbox-list class on cols (make sure they get border-top))
m (47 revisions imported from alpha:Template:Navbox_with_columns)
 
(6 intermediate revisions by 6 users not shown)
Line 3: Line 3:
Please do not edit without discussion first as this is a "VERY complex" template.
Please do not edit without discussion first as this is a "VERY complex" template.


-->{{Navbox
-->{{#invoke:Navbox|navbox
|name = {{{name|}}}
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|navbar = {{{navbar|}}}
Line 127: Line 127:


--- Main columns---
--- Main columns---
--><tr style="vertical-align:top;"><!--


-->{{#if:{{{col1|}}}|<!--
-->{{#if:{{{col1|}}}|<!--
--><tr style="vertical-align:top;"><!--
-->{{#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}}};">&nbsp;&nbsp;&nbsp;</td>}}}}<!--
  -->|#default=<td style="width:{{{padding|5em}}};">&nbsp;&nbsp;&nbsp;</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>}}<!--
-->}}<!--


--></tr></table>
--></tr></table>{{#if:{{{col1header|}}}{{{col1|}}}{{{col1footer|}}}||[[Category:Pages using navbox columns without the first column]]}}




Line 316: Line 316:
|list7style = {{{list5style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list8style = {{{list6style|}}}
|list9style = {{{list7style|}}}
|list10style = {{{list8style|}}}
|list11style = {{{list9style|}}}
|list12style = {{{list10style|}}}


|list3 = {{{list1|}}}
|list3 = {{{list1|}}}
Line 323: Line 327:
|list7 = {{{list5|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
|list8 = {{{list6|}}}
|list9 = {{{list7|}}}
|list10 = {{{list8|}}}
|list11 = {{{list9|}}}
|list12 = {{{list10|}}}


|groupstyle = {{{groupstyle|}}}
|groupstyle = {{{groupstyle|}}}
Line 331: Line 339:
|group7style = {{{group5style|}}}
|group7style = {{{group5style|}}}
|group8style = {{{group6style|}}}
|group8style = {{{group6style|}}}
|group9style = {{{group7style|}}}
|group10style = {{{group8style|}}}
|group11style = {{{group9style|}}}
|group12style = {{{group10style|}}}


|group3 = {{{group1|}}}
|group3 = {{{group1|}}}
Line 338: Line 350:
|group7 = {{{group5|}}}
|group7 = {{{group5|}}}
|group8 = {{{group6|}}}
|group8 = {{{group6|}}}
 
|group9 = {{{group7|}}}
|group10 = {{{group8|}}}
|group11 = {{{group9|}}}
|group12 = {{{group10|}}}
|below = {{{below|}}}
|below = {{{below|}}}



Latest revision as of 10:06, 15 January 2023

Template documentation