FANDOM


{{{header}}}
{{{group1}}} {{{list1}}}
{{{group2}}} {{{list2}}}
{{{group3}}} {{{list3}}}
{{{group4}}} {{{list4}}}
{{{group5}}} {{{list5}}}
group6, group7, group8, etc...
{{{group50}}} {{{list50}}}
Template documentation (for the above template, sometimes hidden or invisible)

Description

This is a base navbox, specifically used for creating other navboxes.

This navbox is created by TacticalMaster.

Syntax

The following below is the parameter lay down.

{{navbox new
|header     = 
|color      = 
|f-color    = 
|b-color    = 
|bg-color   = 

|group1     = 
|list1      = 

|group2     = 
|list2      = 

|group3     = 
|list3      = 

|group4     = 
|list4      = 

|group5     = 
|list5      = 

etc., counting up until...

|group50    = 
|list50     = 
}}

Splitters

This navbox comes with a "splitter feature," which converts a navbox row header into a full-width section. The purpose of "splitters" is to override a navbox row header to span across the navbox and create easier labeling of certain groups of unique categories. Or perhaps an alternative means of a navbox design.

To use splitter, input the |splitter#, where '#' is its corresponding row number. This will convert the row's group header into a full-width label that spans across the box and places the list contents underneath it, centered.

|splitter1  = Splitter1
|list1      = Splitter 1 content

|splitter2  = Splitter2
|list2      = Splitter 2 content
Splitter example
Splitter1
Splitter 1 content
Splitter2
Splitter 2 content


The |list parameter can be excluded from the splitter-implemented row to intrigate other group rows with the splitter, to create an organized group under the splitter label.

|splitter1  = Splitter section
["|list1" has been excluded from this to intregrate group rows below.]

|group2     = Group1 section
|list2      = Group1 content

|group3     = Group2 section
|list3      = Group2 content
Spliter & Group example
Splitter section
Group1 section Group1 content
Group2 section Group2 content

Additional Notes

  • The row #'s group parameter will be disabled if the splitter parameter is used for that row #.
  • You can still use the list parameter with the splitter and add the following group# parameters, but the design can be unaesthetic that way.

Subgrouping

This navbox supports subgrouping. See Template:Navbox subgroup for more information.

To subgroup, place the |subgroup$ = # parameter, inbetween the |group$ = and |list$ = parameters. The $ is the group/list/subgroup number, where # is the number of subgroups intended to be used.

IMPORTANT NOTE: You must input the correct number of groups in the subgroup template as the same number of groups specified on the |subgroup parser. Otherwise, you will get a critical error.

Example on how navbox subgroups are used:

|group1     = 
|subgroup1  = 1
|list1      = {{navbox subgroup
 |color    = 

 |group1   = 
 |list1    = 
<stop here because 1 subgroup is needed>
}}

|group2     = 
|subgroup2  = 2
|list2      = {{navbox subgroup
 |color    = 

 |group1   = 
 |list1    = 

 |group2   = 
 |list2    = 
<stop here because 2 subgroups are needed>
}}

|group3     = 
|subgroup3  = 3
|list3      = {{navbox subgroup
 |color    = 

 |group1   = 
 |list1    = 

 |group2   = 
 |list2    = 

 |group3   = 
 |list3    = 
<stop here because 3 subgroups are needed>
}}
Subgrouping example
Group 1 Subgroup 1 Subgroup 1 content
Group 2 Subgroup 1 Subgroup 1 content
Subgroup 2 Subgroup 2 content
Group 3 Subgroup 1 Subgroup 1 content
Subgroup 2 Subgroup 2 content
Subgroup 3 Subgroup 3 content

Visit Template:Navbox new/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.