{{{header}}} | ||
---|---|---|
{{{group1}}} | {{{list1}}} | |
{{{group2}}} | {{{list2}}} | |
{{{group3}}} | {{{list3}}} | |
{{{group4}}} | {{{list4}}} | |
{{{group5}}} | {{{list5}}} | |
group6, group7, group8, etc... | ||
{{{group30}}} | {{{list30}}} |
Description
This is a base navbox, specifically used for creating other navboxes.
This navbox was originally created by TacticalMaster. Tweaked by Jo SHININGSTAR for theme in the Aikatsu Stars Wiki.
Parameters
The following below is the parameter laydown.
{{navbox new |header = |allwidth = <Overrides all group widths to set amount. Default is 75px if empty.> |color = |h-color = <If excluded, uses the |color parser's input.> |bg-color = <If empty, makes the navbox transparent.> |f-color = |b-color = |group1 = |list1 = |group2 = |list2 = |group3 = |list3 = |group4 = |list4 = |group5 = |list5 = etc., counting up until... |group30 = |list30 = }}
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 thesplitter
parameter is used for that row #. - You can still use the
list
parameter with the splitter and add the followinggroup#
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 parameters. The
$
is the group/list/subgroup number, where #
is the number of subgroups intended to be used. Then insert the {{Navbox subgroup}} template with the same number of subgroups as the main navbox.
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 |