Template:Navbox with columns
This page will only parse completely when it is included in another page.
[template]Navbox
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1padding = 0px;
|list1 = <table cellspacing="0" class="navbox-columns-table" style="text-align:left;[if="{{{col1header|}}}{{{fullwidth|}}}"]width:100%;[else /]width:auto;margin-left:auto;margin-right:auto; [/if]{{{coltablestyle|}}}">[if="{{{col1header|}}}"]<tr>[if="{{{col1header|}}}"]<td class="navbox-abovebelow" colspan={{{col1headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col1headerstyle|}}}">[b]{{{col1header|}}}[/b]</td>[/if][if="{{{col2header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col2headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col2headerstyle|}}}">[b]{{{col2header|}}}[/b]</td>[/if][if="{{{col3header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col3headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col3headerstyle|}}}">[b]{{{col3header|}}}[/b]</td>[/if][if="{{{col4header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col4headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col4headerstyle|}}}">[b]{{{col4header|}}}[/b]</td>[/if][if="{{{col5header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col5headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col5headerstyle|}}}">[b]{{{col5header|}}}[/b]</td>[/if][if="{{{col6header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col6headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col6headerstyle|}}}">[b]{{{col6header|}}}[/b]</td>[/if][if="{{{col7header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col7headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col7headerstyle|}}}">[b]{{{col7header|}}}[/b]</td>[/if][if="{{{col8header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col8headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col8headerstyle|}}}">[b]{{{col8header|}}}[/b]</td>[/if][if="{{{col9header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col9headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col9headerstyle|}}}">[b]{{{col9header|}}}[/b]</td>[/if][if="{{{col10header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col10headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col10headerstyle|}}}">[b]{{{col10header|}}}[/b]</td>[/if][if="{{{col11header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col11headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col11headerstyle|}}}">[b]{{{col11header|}}}[/b]</td>[/if][if="{{{col12header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col12headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col12headerstyle|}}}">[b]{{{col12header|}}}[/b]</td>[/if][if="{{{col13header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col13headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col13headerstyle|}}}">[b]{{{col13header|}}}[/b]</td>[/if][if="{{{col14header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col14headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col14headerstyle|}}}">[b]{{{col14header|}}}[/b]</td>[/if][if="{{{col15header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col15headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col15headerstyle|}}}">[b]{{{col15header|}}}[/b]</td>[/if][if="{{{col16header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col16headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col16headerstyle|}}}">[b]{{{col16header|}}}[/b]</td>[/if][if="{{{col17header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col17headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col17headerstyle|}}}">[b]{{{col17header|}}}[/b]</td>[/if][if="{{{col18header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col18headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col18headerstyle|}}}">[b]{{{col18header|}}}[/b]</td>[/if][if="{{{col19header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col19headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col19headerstyle|}}}">[b]{{{col19header|}}}[/b]</td>[/if][if="{{{col20header|}}}"]<td class="navbox-abovebelow navbox-list" style="{{{colheaderstyle|}}}{{{col20headerstyle|}}}">[b]{{{col20header|}}}[/b]</td>[/if]</tr>[/if][if="{{{col1header|}}}"]<tr style="height:2px;"><td></td></tr>[/if]<tr style="vertical-align:top;">[if="{{{col1header|}}}{{{col1footer|}}}{{{fullwidth |}}}"][else /][if="#switch=={{{padding|}}}"][/if][if="#switch==off"][/if][if="#switch==0"][/if][if="#switch==0em"][/if][if="#switch==0px"][/if][if="#switch==0%"][/if][if="#switch==0;"][/if][if="#switch==0em;"][/if][if="#switch==0px;"][/if][if="#switch==0%;"][/if][if="#switch==#default"]<td style="width:{{{padding|5em}}};"> </td>[/if][/if][if="{{{col1|}}}"]<td style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col1style|}}};width:{{{col1width|{{{colwidth|10em} }}}}};">[div]
{{{col1}}}
[/div]</td>[/if][if="{{{col2|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col2style|}}};width:{{{col2width|{{{colwidth|10em }}}}}};">[div]
{{{col2}}}
[/div]</td>[/if][if="{{{col3|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col3style|}}};width:{{{col3width|{{{colwidth|10em} }}}}};">[div]
{{{col3}}}
[/div]</td>[/if][if="{{{col4|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col4style|}}};width:{{{col4width|{{{colwidth|10em }}}}}};">[div]
{{{col4}}}
[/div]</td>[/if][if="{{{col5|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col5style|}}};width:{{{col5width|{{{colwidth|10em} }}}}};">[div]
{{{col5}}}
[/div]</td>[/if][if="{{{col6|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col6style|}}};width:{{{col6width|{{{colwidth|10em }}}}}};">[div]
{{{col6}}}
[/div]</td>[/if][if="{{{col7|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col7style|}}};width:{{{col7width|{{{colwidth|10em} }}}}};">[div]
{{{col7}}}
[/div]</td>[/if][if="{{{col8|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col8style|}}};width:{{{col8width|{{{colwidth|10em }}}}}};">[div]
{{{col8}}}
[/div]</td>[/if][if="{{{col9|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col9style|}}};width:{{{col9width|{{{colwidth|10em} }}}}};">[div]
{{{col9}}}
[/div]</td>[/if][if="{{{col10|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col10style|}}};width:{{{col10width|{{{colwidth|10 em}}}}}};">[div]
{{{col10}}}
[/div]</td>[/if][if="{{{col11|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col11style|}}};width:{{{col11width|{{{colwidth|10e m}}}}}};">[div]
{{{col11}}}
[/div]</td>[/if][if="{{{col12|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col12style|}}};width:{{{col12width|{{{colwidth|10 em}}}}}};">[div]
{{{col12}}}
[/div]</td>[/if][if="{{{col13|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col13style|}}};width:{{{col13width|{{{colwidth|10e m}}}}}};">[div]
{{{col13}}}
[/div]</td>[/if][if="{{{col14|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col14style|}}};width:{{{col14width|{{{colwidth|10 em}}}}}};">[div]
{{{col14}}}
[/div]</td>[/if][if="{{{col15|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col15style|}}};width:{{{col15width|{{{colwidth|10e m}}}}}};">[div]
{{{col15}}}
[/div]</td>[/if][if="{{{col16|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col16style|}}};width:{{{col16width|{{{colwidth|10 em}}}}}};">[div]
{{{col16}}}
[/div]</td>[/if][if="{{{col17|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col17style|}}};width:{{{col17width|{{{colwidth|10e m}}}}}};">[div]
{{{col17}}}
[/div]</td>[/if][if="{{{col18|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col18style|}}};width:{{{col18width|{{{colwidth|10 em}}}}}};">[div]
{{{col18}}}
[/div]</td>[/if][if="{{{col19|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col19style|}}};width:{{{col19width|{{{colwidth|10e m}}}}}};">[div]
{{{col19}}}
[/div]</td>[/if][if="{{{col20|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col20style|}}};width:{{{col20width|{{{colwidth|10 em}}}}}};">[div]
{{{col20}}}
[/div]</td>[/if][if="{{{col1footer|}}}"][if="{{{col1|}}}{{{col1header|}}}"]<tr style="height:2px"><td></td></tr>[/if]<tr>[if="{{{col1footer|}}}"]<td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col1footerstyle|}}}">[b]{{{col1footer|}}}[/b]</td>[/if][if="{{{col2footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col2footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col2footerstyle|}}}">[b]{{{col2footer|}}}[/b]</td>[/if][if="{{{col3footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col3footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col3footerstyle|}}}">[b]{{{col3footer|}}}[/b]</td>[/if][if="{{{col4footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col4footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col4footerstyle|}}}">[b]{{{col4footer|}}}[/b]</td>[/if][if="{{{col5footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col5footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col5footerstyle|}}}">[b]{{{col5footer|}}}[/b]</td>[/if][if="{{{col6footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col6footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col6footerstyle|}}}">[b]{{{col6footer|}}}[/b]</td>[/if][if="{{{col7footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col7footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col7footerstyle|}}}">[b]{{{col7footer|}}}[/b]</td>[/if][if="{{{col8footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col8footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col8footerstyle|}}}">[b]{{{col8footer|}}}[/b]</td>[/if][if="{{{col9footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col9footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col9footerstyle|}}}">[b]{{{col9footer|}}}[/b]</td>[/if][if="{{{col10footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col10footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col10footerstyle|}}}">[b]{{{col10footer|}}}[/b]</td>[/if][if="{{{col11footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col11footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col11footerstyle|}}}">[b]{{{col11footer|}}}[/b]</td>[/if][if="{{{col12footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col12footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col12footerstyle|}}}">[b]{{{col12footer|}}}[/b]</td>[/if][if="{{{col13footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col13footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col13footerstyle|}}}">[b]{{{col13footer|}}}[/b]</td>[/if][if="{{{col14footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col14footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col14footerstyle|}}}">[b]{{{col14footer|}}}[/b]</td>[/if][if="{{{col15footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col15footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col15footerstyle|}}}">[b]{{{col15footer|}}}[/b]</td>[/if][if="{{{col16footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col16footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col16footerstyle|}}}">[b]{{{col16footer|}}}[/b]</td>[/if][if="{{{col17footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col17footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col17footerstyle|}}}">[b]{{{col17footer|}}}[/b]</td>[/if][if="{{{col18footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col18footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col18footerstyle|}}}">[b]{{{col18footer|}}}[/b]</td>[/if][if="{{{col19footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col19footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col19footerstyle|}}}">[b]{{{col19footer|}}}[/b]</td>[/if][if="{{{col20footer|}}}"]<td class="navbox-abovebelow navbox-list" style="{{{colfooterstyle|}}};{{{col20footerstyle|}}}">[b]{{{col20footer|}}}[/b]</td>[/if][/if]</tr></table>
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list3style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
[/template]
A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
Template:navbox with collapsible groups
|name = {{{name|}}}
|navbar = {{{navbar|}}}
|state = {{{state|}}}
|border = {{{border|{{{1|}}}}}}
|title = {{{title|}}}
|above = {{{above|}}}
|below = {{{below|}}}
|image = {{{image|}}}
|imageleft = {{{imageleft|}}}
|style = {{{style|}}}{{{bodystyle|}}}
|basestyle = {{{basestyle|}}}
|titlestyle = {{{titlestyle|}}}
|abovestyle = {{{abovestyle|}}}
|belowstyle = {{{belowstyle|}}}
|imagestyle = {{{imagestyle|}}}
|imageleftstyle = {{{imageleftstyle|}}}
|list1padding = 0px;
|list1 = <table cellspacing="0" class="navbox-columns-table" style="text-align:left;[if="{{{col1header|}}}{{{fullwidth|}}}"]width:100%;[else /]width:auto;margin-left:auto;margin-right:auto; [/if]{{{coltablestyle|}}}">[if="{{{col1header|}}}"]<tr>[if="{{{col1header|}}}"]<td class="navbox-abovebelow" colspan={{{col1headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col1headerstyle|}}}">[b]{{{col1header|}}}[/b]</td>[/if][if="{{{col2header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col2headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col2headerstyle|}}}">[b]{{{col2header|}}}[/b]</td>[/if][if="{{{col3header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col3headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col3headerstyle|}}}">[b]{{{col3header|}}}[/b]</td>[/if][if="{{{col4header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col4headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col4headerstyle|}}}">[b]{{{col4header|}}}[/b]</td>[/if][if="{{{col5header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col5headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col5headerstyle|}}}">[b]{{{col5header|}}}[/b]</td>[/if][if="{{{col6header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col6headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col6headerstyle|}}}">[b]{{{col6header|}}}[/b]</td>[/if][if="{{{col7header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col7headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col7headerstyle|}}}">[b]{{{col7header|}}}[/b]</td>[/if][if="{{{col8header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col8headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col8headerstyle|}}}">[b]{{{col8header|}}}[/b]</td>[/if][if="{{{col9header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col9headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col9headerstyle|}}}">[b]{{{col9header|}}}[/b]</td>[/if][if="{{{col10header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col10headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col10headerstyle|}}}">[b]{{{col10header|}}}[/b]</td>[/if][if="{{{col11header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col11headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col11headerstyle|}}}">[b]{{{col11header|}}}[/b]</td>[/if][if="{{{col12header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col12headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col12headerstyle|}}}">[b]{{{col12header|}}}[/b]</td>[/if][if="{{{col13header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col13headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col13headerstyle|}}}">[b]{{{col13header|}}}[/b]</td>[/if][if="{{{col14header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col14headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col14headerstyle|}}}">[b]{{{col14header|}}}[/b]</td>[/if][if="{{{col15header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col15headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col15headerstyle|}}}">[b]{{{col15header|}}}[/b]</td>[/if][if="{{{col16header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col16headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col16headerstyle|}}}">[b]{{{col16header|}}}[/b]</td>[/if][if="{{{col17header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col17headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col17headerstyle|}}}">[b]{{{col17header|}}}[/b]</td>[/if][if="{{{col18header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col18headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col18headerstyle|}}}">[b]{{{col18header|}}}[/b]</td>[/if][if="{{{col19header|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col19headercolspan|1}}} style="{{{colheaderstyle|}}}{{{col19headerstyle|}}}">[b]{{{col19header|}}}[/b]</td>[/if][if="{{{col20header|}}}"]<td class="navbox-abovebelow navbox-list" style="{{{colheaderstyle|}}}{{{col20headerstyle|}}}">[b]{{{col20header|}}}[/b]</td>[/if]</tr>[/if][if="{{{col1header|}}}"]<tr style="height:2px;"><td></td></tr>[/if]<tr style="vertical-align:top;">[if="{{{col1header|}}}{{{col1footer|}}}{{{fullwidth |}}}"][else /][if="#switch=={{{padding|}}}"][/if][if="#switch==off"][/if][if="#switch==0"][/if][if="#switch==0em"][/if][if="#switch==0px"][/if][if="#switch==0%"][/if][if="#switch==0;"][/if][if="#switch==0em;"][/if][if="#switch==0px;"][/if][if="#switch==0%;"][/if][if="#switch==#default"]<td style="width:{{{padding|5em}}};"> </td>[/if][/if][if="{{{col1|}}}"]<td style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col1style|}}};width:{{{col1width|{{{colwidth|10em} }}}}};">[div]
{{{col1}}}
[/div]</td>[/if][if="{{{col2|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col2style|}}};width:{{{col2width|{{{colwidth|10em }}}}}};">[div]
{{{col2}}}
[/div]</td>[/if][if="{{{col3|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col3style|}}};width:{{{col3width|{{{colwidth|10em} }}}}};">[div]
{{{col3}}}
[/div]</td>[/if][if="{{{col4|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col4style|}}};width:{{{col4width|{{{colwidth|10em }}}}}};">[div]
{{{col4}}}
[/div]</td>[/if][if="{{{col5|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col5style|}}};width:{{{col5width|{{{colwidth|10em} }}}}};">[div]
{{{col5}}}
[/div]</td>[/if][if="{{{col6|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col6style|}}};width:{{{col6width|{{{colwidth|10em }}}}}};">[div]
{{{col6}}}
[/div]</td>[/if][if="{{{col7|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col7style|}}};width:{{{col7width|{{{colwidth|10em} }}}}};">[div]
{{{col7}}}
[/div]</td>[/if][if="{{{col8|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col8style|}}};width:{{{col8width|{{{colwidth|10em }}}}}};">[div]
{{{col8}}}
[/div]</td>[/if][if="{{{col9|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col9style|}}};width:{{{col9width|{{{colwidth|10em} }}}}};">[div]
{{{col9}}}
[/div]</td>[/if][if="{{{col10|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col10style|}}};width:{{{col10width|{{{colwidth|10 em}}}}}};">[div]
{{{col10}}}
[/div]</td>[/if][if="{{{col11|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col11style|}}};width:{{{col11width|{{{colwidth|10e m}}}}}};">[div]
{{{col11}}}
[/div]</td>[/if][if="{{{col12|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col12style|}}};width:{{{col12width|{{{colwidth|10 em}}}}}};">[div]
{{{col12}}}
[/div]</td>[/if][if="{{{col13|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col13style|}}};width:{{{col13width|{{{colwidth|10e m}}}}}};">[div]
{{{col13}}}
[/div]</td>[/if][if="{{{col14|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col14style|}}};width:{{{col14width|{{{colwidth|10 em}}}}}};">[div]
{{{col14}}}
[/div]</td>[/if][if="{{{col15|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col15style|}}};width:{{{col15width|{{{colwidth|10e m}}}}}};">[div]
{{{col15}}}
[/div]</td>[/if][if="{{{col16|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col16style|}}};width:{{{col16width|{{{colwidth|10 em}}}}}};">[div]
{{{col16}}}
[/div]</td>[/if][if="{{{col17|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col17style|}}};width:{{{col17width|{{{colwidth|10e m}}}}}};">[div]
{{{col17}}}
[/div]</td>[/if][if="{{{col18|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col18style|}}};width:{{{col18width|{{{colwidth|10 em}}}}}};">[div]
{{{col18}}}
[/div]</td>[/if][if="{{{col19|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{oddcolstyle|}}};{{{ col19style|}}};width:{{{col19width|{{{colwidth|10e m}}}}}};">[div]
{{{col19}}}
[/div]</td>[/if][if="{{{col20|}}}"]<td class="navbox-list" style="padding:0px;{{{colstyle|}}};{{{evencolstyle|}}};{{ {col20style|}}};width:{{{col20width|{{{colwidth|10 em}}}}}};">[div]
{{{col20}}}
[/div]</td>[/if][if="{{{col1footer|}}}"][if="{{{col1|}}}{{{col1header|}}}"]<tr style="height:2px"><td></td></tr>[/if]<tr>[if="{{{col1footer|}}}"]<td class="navbox-abovebelow" colspan={{{col1footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col1footerstyle|}}}">[b]{{{col1footer|}}}[/b]</td>[/if][if="{{{col2footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col2footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col2footerstyle|}}}">[b]{{{col2footer|}}}[/b]</td>[/if][if="{{{col3footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col3footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col3footerstyle|}}}">[b]{{{col3footer|}}}[/b]</td>[/if][if="{{{col4footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col4footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col4footerstyle|}}}">[b]{{{col4footer|}}}[/b]</td>[/if][if="{{{col5footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col5footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col5footerstyle|}}}">[b]{{{col5footer|}}}[/b]</td>[/if][if="{{{col6footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col6footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col6footerstyle|}}}">[b]{{{col6footer|}}}[/b]</td>[/if][if="{{{col7footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col7footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col7footerstyle|}}}">[b]{{{col7footer|}}}[/b]</td>[/if][if="{{{col8footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col8footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col8footerstyle|}}}">[b]{{{col8footer|}}}[/b]</td>[/if][if="{{{col9footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col9footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col9footerstyle|}}}">[b]{{{col9footer|}}}[/b]</td>[/if][if="{{{col10footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col10footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col10footerstyle|}}}">[b]{{{col10footer|}}}[/b]</td>[/if][if="{{{col11footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col11footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col11footerstyle|}}}">[b]{{{col11footer|}}}[/b]</td>[/if][if="{{{col12footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col12footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col12footerstyle|}}}">[b]{{{col12footer|}}}[/b]</td>[/if][if="{{{col13footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col13footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col13footerstyle|}}}">[b]{{{col13footer|}}}[/b]</td>[/if][if="{{{col14footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col14footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col14footerstyle|}}}">[b]{{{col14footer|}}}[/b]</td>[/if][if="{{{col15footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col15footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col15footerstyle|}}}">[b]{{{col15footer|}}}[/b]</td>[/if][if="{{{col16footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col16footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col16footerstyle|}}}">[b]{{{col16footer|}}}[/b]</td>[/if][if="{{{col17footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col17footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col17footerstyle|}}}">[b]{{{col17footer|}}}[/b]</td>[/if][if="{{{col18footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col18footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col18footerstyle|}}}">[b]{{{col18footer|}}}[/b]</td>[/if][if="{{{col19footer|}}}"]<td class="navbox-abovebelow navbox-list" colspan={{{col19footercolspan|1}}} style="{{{colfooterstyle|}}};{{{col19footerstyle|}}}">[b]{{{col19footer|}}}[/b]</td>[/if][if="{{{col20footer|}}}"]<td class="navbox-abovebelow navbox-list" style="{{{colfooterstyle|}}};{{{col20footerstyle|}}}">[b]{{{col20footer|}}}[/b]</td>[/if][/if]</tr></table>
|liststyle = {{{liststyle|}}}
|list1style = background:transparent;color:inherit;
|list3style = {{{list1style|}}}
|list4style = {{{list2style|}}}
|list5style = {{{list3style|}}}
|list6style = {{{list3style|}}}
|list7style = {{{list5style|}}}
|list8style = {{{list6style|}}}
|list3 = {{{list1|}}}
|list4 = {{{list2|}}}
|list5 = {{{list3|}}}
|list6 = {{{list4|}}}
|list7 = {{{list5|}}}
|list8 = {{{list6|}}}
[/template]
A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
- 1Basic syntax
- 2Parameters
- 3Examples
- 4Using child navboxes
- 5See also
- 6Pages That Use This Template
[top]Basic syntax
Only required parameters and colwidth included.- See Em (typography). Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If colwidth not specified, a default 10em is used.
[top]Parameters
Required parameters in bold. Parameters marked with a cross? are parameters in common with the sister templates {{Navbox}} and {{Navbox with collapsible groups}}. A much more complete description of those parameters is available at {{Navbox}}.[top]Setup parameters
;name?
::The name of the template. The name of this template, for example, is "Navbox with columns".;state?
::Possible values are collapsed
, uncollapsed
, plain
, off
, and the default autocollapse
. See {{Navbox}} for more information.;navbar?
::Possible values are plain
, off
, and the default value of blank. See {{Navbox}} for more information.;border?
::Possible values are child
, none
, and the default value of blank. Set to child
if you wish to use the navbox inside of another navbox; with this option, the child navbox is borderless and fits snuggly inside of its parent navbox. The parent navbox may be the list area of {{Navbox}}, a columns of another {{Navbox with columns}}, or a section of {{Navbox with collapsible groups}}. See {{Navbox}} for more information and examples.[top]Basic data parameters
;title?
::The title of the template, displayed centered in the titlebar at the top of the template.;above?
::Text or other elements to appear above the columns.;image?
::Image to the right of all of the columns.;imageleft?
::Image to the left of all of the columns.;below?
::Text or other elements to appear below the columns.[top]Style parameters
;bodystyle?
::CSS style/s to apply to the template's body (i.e. including space not used by columns);titlestyle?
::CSS style/s to apply to titlebar; usually background:color
(background defaults to NavHead default).;abovestyle?
:;belowstyle?:CSS style/s to apply to the above and below parameters, respectively.
;basestyle?
::CSS style/s to apply to the title, above, and below, parameters, all at the same time.;imagestyle?
::CSS style/s to apply to the image parameter.;imageleftstyle?
::CSS style/s to apply to the imageleft parameter ;colsstyle
::CSS style/s to apply across all columns; if used, usually background:color
per titlestyle above.;oddcolstyle
:;evencolstyle:CSS style/s to apply to all odd/even-numbered columns, respectively.
;colnstyle
::CSS style/s to apply to the nth column only.;colheaderstyle
::CSS style/s to apply to all column headers.;colnheaderstyle
::CSS style/s to apply to the nth column header.;colnfooterstyle
::CSS style/s to apply to the nth column footer cell.[top]Columns parameters
;colwidth
::Width, preferably in a proportional unit such as 'em', or as a percentage, used for each column whose width not specified by colNwidth below. Defaults to 10em. Examples:::
:::colwidth = 15em
colwidth = 25%
;fullwidth
::If set to anything, then the total width of the columns are scaled linearly to make the sum of the widths 100%. A rather advanced parameter, this usually need not be used and should be left blank. If a colheader or colfooter is used, then fullwidth is used automatically. Example:::
fullwidth = true
;padding
::Padding before first column, preferably in a proportional unit. Defaults to 5em. Padding is disabled by setting it to 0 (or 0em, or 0%).;colnwidth
::The nth column's width (overrides colwidth above).;coln
::The content of the nth column. col1
is required. There can be a maximum of 20 columns.;colnheader
::A header cell for the nth column that appears above the column. See below for examples.;''colnfooter
::A footer cell that appears below the nth column.;''colnheadercolspan
::A number specifying how many columns the nth column header should span. It defaults to 1. If it is greater than one, then do not specify column headers that it covers. For example, if col1headercolspan = 3
, then leave col2header
and col3header
blank.;''colnfootercolspan
::A number specifying how many columns the nth column footer should span. It defaults to 1. If it is greater than one, then do not specify column footers that it covers. For example, if col1footercolspan = 3
, then leave col2footer
and col3footer
blank.[top]Additional lists
You may wish to add a few extra lists below the columns. The following parameters are given to provide such functionality. See {{Navbox}} for a more complete description of how they work, and for more examples. Groups are not allowed.;listn?
::Allows up to 6 additional lists below the columns.;liststyle?
::The general CSS style/s for the lists.;listnstyle?
::CSS style/s for the nth list parameter.;listpadding?
::Amount of padding to have in each list cell.[top]Examples
[top]Basic example
This is where the [comment] was param [/comment][comment] / was param [/comment] would appear.
Potential future members
This is where the [comment] was param [/comment][comment] / was param [/comment] parameter would appear.
Potential future members
[top]Example with percentage widths
Polyethylene (PE)
Polyethylene terephthalate (PET or PETE)
Polyvinyl chloride (PVC)
Polyvinylidene chloride (PVDC)
Polylactic acid (PLA)
Polystyrene (PS)
Polyester
Acrylonitrile butadiene styrene (ABS)
Polymethyl methacrylate (PMMA)
Polyoxymethylene (POM)
Polyethylene (PE) Polyethylene terephthalate (PET or PETE) Polyvinyl chloride (PVC) Polyvinylidene chloride (PVDC) Polylactic acid (PLA) | Polystyrene (PS) Polyester Acrylonitrile butadiene styrene (ABS) Polymethyl methacrylate (PMMA) Polyoxymethylene (POM) |
[top]Example with colnheader and colnfooter
The gray background for the columns is added for illustration only.[top]Using child navboxes
All three types of navbox templates, namely {{Navbox}}, {{Navbox with columns}}, and {{Navbox with collapsible groups}}, can be nested inside of one another using theborder
parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.[top]Nesting Navbox with columns in itself
This example shows how one can nest multiple {{Navbox with columns}} templates to get the right look. Edit this section to view the code. There is a main {{Navbox with columns}} and two additional {{Navbox with columns}} templates, with the "child" option set (see code).[top]Nesting other Navbox forms
This example shows {{Navbox}}, {{Navbox with collapsible groups}} and {{Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that each of the child navboxes has the first parameter set tochild
Template:navbox with collapsible groups
[top]See also
- {{Navbox}} – Allows groups/lists instead of columns
- {{Navbox with collapsible groups}} – Another variation.
Contributors: | ,
Created by Last edited by , 10-23-2011 at 02:12 PM 0 Comments, 1,330 Views |
, 12-05-2008 at 01:19 PM
Tags for this Page
Similar Pages
-
Navbox
By Arjan in forum TemplateComments: 0Last Post: 12-05-2008, 11:51 AM
Bookmarks