Template:Nav Bar L1



   



Syntax
Template Nav Bar L1 for Level 1 group of buttons:

When using navigation to display integrated  based content (L1_#_type = 2 & 5), that content must be placed inside   containers with relevant names. If you check example below, first button has "L1_1_type=5", which mean it will display content directly rather than displaying Level 2 navigation. That container mush be named , where the first "1" means it's linked with button L1_1.

You can also make a link on Navigation Bar Title field, which will display integrated content. In this case the container must be named .

Attributes
L1_title is always required; the value you enter will be displayed on top of Navigation Bar. You can use or type your own title.

L1_subtitle is optional; if used, Subtitle will take priority and buttons on Level 1 will not be displayed. You can still display 1 group of Level 2 buttons, if that group is given attribute L2_active=1.

L1_#_type is always required and will determine what type of button will be displayed. The other 3 attributes depend on the type used:

Example
After clicking on 5th button (nav_L2_number=5) of Level 2 navigation, this example code would display 3 image buttons on Level 2 navigation.

Restrictions
A maximum of 10 button links may be used for Level 1 navigation.

If using image links, that adds up to 600px width, which is well under the limit of 720px width. If using text links, the width may exceed the minimum wikia requirement and will not be displayed properly on small displays.