User:DuskFyre/Sandbox/Template:Navbox

{{#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;color:inherit}};;" {{#if:| ! style="border-left:2px solid #fdfdfd;width:100%;| ! style="}};" colspan= class="navbox-title" | {{#if: {{#if:||{{#switch:|subgroup|child|none=1}}}}| | }}   }}{{#if:| {{#if:|  }}{{#if:|{{#if:| {{!}}- {{!}} class="navbox-abovebelow" style=";" colspan="" {{!}}  }} {{!}}}{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default= {{!}}} }}
 * style="padding:2px;" | }}
 * style="padding:2px;" | }}
 * - {{#if:|
 * class="navbox-group" style=";;" |
 * -{{#if:|
 * style="width:0%;padding:0px 2px 0px 0px;" rowspan= | }} width:100%;padding:0px;;;" class="navbox-list navbox-" | 
 * style="width:0%;padding:0px 0px 0px 2px;" rowspan= | }} }}{{#if:| {{#if:|
 * - style="height:2px"
 * }}
 * - {{#if:|
 * class="navbox-group" style=";;" |
 * style="text-align:left;border-left:2px solid #fdfdfd;|
 * colspan=2 style="}} width:100%;padding:0px;;;" class="navbox-list navbox-" | 
 * - style="height:2px;"
 * }}