Template:Navbox/draft

{{#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 = }} }}}} {{Navbox/draft
 * name = Navbox
 * title = Navbox
 * bodyclass = hlist
 * above = Text above the navigation.
 * below = Text below the navigation.


 * group1 = Group 1
 * list1 = List 1

| group1 = Group 2.1 | list1 = List 2.1
 * group2 = Group 2
 * list2 = {{Navbox/draft|child

| group2 = Group 2.2 | list2 = {{Navbox/draft|child | group1 = Group 2.2.1 | list1 = List 2.2.1

| group2 = Group 2.2.2 | list2 = List 2.2.2 }}

| group3 = Group 2.3 | list3 = List 2.3 }}


 * group3 = Group 3
 * list3 =
 * List 3
 * List
 * List


 * group4 = Group 4
 * list4 = List 4

}}

Variables

 * through
 * through
 * through
 * through

Styling

 * (each group can be styled individually,  -  )
 * (each list can be styled individually,  -  )
 * (each group can be styled individually,  -  )
 * (each list can be styled individually,  -  )
 * (each group can be styled individually,  -  )
 * (each list can be styled individually,  -  )
 * (each group can be styled individually,  -  )
 * (each list can be styled individually,  -  )
 * (each list can be styled individually,  -  )

CSS classes for admin
A wiki's admin can add these classes to their wiki's css to format all their navboxes.

Classes
A wiki's admin can name their own classes for the following and then use them when creating a navbox.


 * bodyclass = body-class
 * aboveclass = not-navbox-abovebelow
 * belowclass = not-navbox-abovebelow
 * imageclass = not-navbox-image
 * groupclass = not-navbox-group
 * listclass = not-navbox-list