Template:Navbox with collapsible groups

{{#switch:{{{border|{{{1|}}}}}}|subgroup|child= |none=|#default= {{#switch:{{{border|{{{1|}}}}}}|subgroup|child= |none=|#default=  }}{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{border|{{{1|}}}}}}|child||{{#ifeq:{{{border|{{{1|}}}}}}|subgroup||{{#switch:{{lc:{{SUBPAGENAME}}}} |doc |sandbox |testcases = |#default = {{#switch:{{{bodyclass|}}} |plainlist |hlist |hlist hnum |hlist vcard |vcard hlist = |#default = {{#switch:{{{listclass|}}} |plainlist |hlist |hlist hnum |hlist vcard |vcard hlist = }} }} }} }}}}}}{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{lc:{{SUBPAGENAME}}}} |sandbox |testcases = |#default = {{#switch:{{{liststyle|}}} |padding: 0.25em 0; line-height: 1.3em; |padding:0.25em 0; line-height:1.4em; width:auto; |#default = }} }}}} {{documentation}}