From Ukikipedia
Jump to navigation Jump to search

The Navbox is used for creating a navigation box like the template {{Level courses}}. The behind-the-scenes code for this is very complicated, and should not be edited without a discussion (also because it would impact a lot of pages).


To use this template we start by using the following (we want to keep the styling the same across pages).

| name = Level courses
| state = {{{state|uncollapsed}}}
| liststyle = padding: 0.25em;
| titlestyle = background: #0a53e7; color: white;
| abovestyle = background: #5485E7; color: white;
| groupstyle = background: #85A8FF; color: white;
| evenstyle = background: #E2F1FC;
| oddstyle = background: #EFF8FE;
The code above is mostly for styling purposes, so this should always be copied to each navigation box.

Below you can see the things that are allowed to be edited. The first, title gives the title of the Navbox. The first part between square brackets [[]] is used for the link to the main page of the Navbox. The part between the <font></font> gives the title displayed by the system.
aboven displays the bar across for a subsection, for our purposes we want these things bold.
groupn is the name of the listn.
Only title and listn are required.

| title = [[List_of_Courses|<font color="white">Courses</font>]]
| above1 = '''Main Courses'''
| group1 = First Floor
| list1 = [[Bob-omb Battlefield]] • [[Whomp's Fortress]] • [[Jolly Roger Bay]] • [[Cool, Cool Mountain]] • [[Big Boo's Haunt]]

(for now, the highest you can go with aboven is above6.)