Template:JDnavboxtest

{{#switch:|subgroup|child= |none=|#default= {| class="navbox" cellspacing="0" style=";" {| cellspacing="0" class="nowraplinks {{#switch:|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;}};;" {{#if:| ! style="border-top:2px solid #fdfdfd;width:100%;| ! style="}};" colspan= class="navbox-title" | {{#if: {{#if:||{{#switch:|subgroup|child|none=1}}}}| | }}   }}{{#if:| {{#if:| {{!}}- {{!}} class="navbox-abovebelow" style=";" colspan="" {{!}}  }} {{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default= {{!}}} }}
 * style="padding:0px;" | }}
 * style="padding:0px;" | }}
 * - {{#if:|
 * class="navbox-group" style=";;" |
 * - style="height:2px;"
 * }}
 * class="navbox-abovebelow" style=";" colspan="" | }}{{#if:|{{#if:|
 * - style="height:2px;background:transparent;"
 * }}
 * -{{#if:|
 * style="width:0%;padding:0px 2px 0px 0px;" rowspan= | }} width:100%;padding:0px;;;" class="navbox-list navbox-" |  {{#if:|
 * style="width:0%;padding:0px 0px 0px 2px;" rowspan= | }} }}{{#if:| {{#if:|
 * - style="height:2px"
 * }}
 * - {{#if:|
 * class="navbox-group" style="color: #000000; ;;" |
 * style="text-align:left;border-top:2px solid #fdfdfd;border-bottom:2px solid #fdfdfd;border-left:2px solid #fdfdfd;|
 * colspan=2 style="}} width:100%;padding:0px;;;" class="navbox-list navbox-" |  }}{{#if:|{{#if:|
 * - style="height:0px;"
 * }}
 * }}

Usage
Template:Navbox is a general purpose navigation template. Colours are fully customisable.

If you wish to include subgroups, use the following code