Difference between revisions of "Template:Navbox"

From EVE University Wiki
Jump to: navigation, search
(Extracted CSS to a separate template for ease of maintenance)
m (Move CSS cal to start of template.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
+
{{NavboxCSS}}<!--
 +
-->{{#switch:{{{border|{{{1|}}}}}}
 +
|subgroup
 +
|child=</div>
 +
|none=
 +
|#default=<table class="navbox {{{bodyclass|}}}" cellspacing="0" <!--
 
  -->style="width: 100%; {{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
 
  -->style="width: 100%; {{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--
  
Line 15: Line 20:
 
  -->class="navbox-title"><!--
 
  -->class="navbox-title"><!--
  
-->{{#if:{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
+
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
 +
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
 +
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}|<!--
 +
-->{{#ifeq:{{{state|}}}|plain||<div style="float:left;width:6em;">&nbsp;</div>}}}}|<!--
 
  --><div style="float:left;width:6em;text-align:left;"><!--
 
  --><div style="float:left;width:6em;text-align:left;"><!--
 +
-->{{Navbar|{{{name}}}|mini=1|fontstyle={{{basestyle|}}};{{{titlestyle|}}};background:none transparent;border:none;font-size:100%;}}<!--
 
  --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
 
  --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
  
Line 48: Line 57:
 
  -->{{#if:{{{groupwidth|}}}|width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}|width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">{{{list1}}}</div></td><!--
+
  --><div style="padding:{{{list1padding|{{{listpadding|0em 0.5em}}}}}}">{{{list1}}}</div></td><!--
  
 
-->{{#if:{{{image|}}}|<!--
 
-->{{#if:{{{image|}}}|<!--
Line 70: Line 79:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list2}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list2}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list3|}}}|<!--
 
-->{{#if:{{{list3|}}}|<!--
Line 78: Line 87:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list3}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list3}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list4|}}}|<!--
 
-->{{#if:{{{list4|}}}|<!--
Line 86: Line 95:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list4}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list4}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list5|}}}|<!--
 
-->{{#if:{{{list5|}}}|<!--
Line 94: Line 103:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list5}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list5}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list6|}}}|<!--
 
-->{{#if:{{{list6|}}}|<!--
Line 102: Line 111:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list6}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list6}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list7|}}}|<!--
 
-->{{#if:{{{list7|}}}|<!--
Line 110: Line 119:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list7}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list7}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list8|}}}|<!--
 
-->{{#if:{{{list8|}}}|<!--
Line 118: Line 127:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list8}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list8}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list9|}}}|<!--
 
-->{{#if:{{{list9|}}}|<!--
Line 126: Line 135:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list9}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list9}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list10|}}}|<!--
 
-->{{#if:{{{list10|}}}|<!--
Line 134: Line 143:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list10}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list10}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list11|}}}|<!--
 
-->{{#if:{{{list11|}}}|<!--
Line 142: Line 151:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list11}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list11}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list12|}}}|<!--
 
-->{{#if:{{{list12|}}}|<!--
Line 150: Line 159:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list12}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list12}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list13|}}}|<!--
 
-->{{#if:{{{list13|}}}|<!--
Line 158: Line 167:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list13}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list13}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list14|}}}|<!--
 
-->{{#if:{{{list14|}}}|<!--
Line 166: Line 175:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list14}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list14}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list15|}}}|<!--
 
-->{{#if:{{{list15|}}}|<!--
Line 174: Line 183:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list15}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list15}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list16|}}}|<!--
 
-->{{#if:{{{list16|}}}|<!--
Line 182: Line 191:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list16}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list16}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list17|}}}|<!--
 
-->{{#if:{{{list17|}}}|<!--
Line 190: Line 199:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list17}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list17}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list18|}}}|<!--
 
-->{{#if:{{{list18|}}}|<!--
Line 198: Line 207:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list18}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list18}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list19|}}}|<!--
 
-->{{#if:{{{list19|}}}|<!--
Line 206: Line 215:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list19}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list19}}}</div></td></tr>}}<!--
  
 
-->{{#if:{{{list20|}}}|<!--
 
-->{{#if:{{{list20|}}}|<!--
Line 214: Line 223:
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
 
  -->{{#if:{{{groupwidth|}}}||width:100%;}}padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
 
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list20}}}</div></td></tr>}}<!--
+
  --><div style="padding:{{{listpadding|0em 0.5em}}}">{{{list20}}}</div></td></tr>}}<!--
  
  
Line 225: Line 234:
  
 
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
 
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
 
+
--><noinclude> {{documentation}} <!-- Please add categories and interwikis to the bottom of sub-page /doc, not here --></noinclude>
-->{{NavboxCSS}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 11:26, 1 August 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template allows a navigational template to be set up relatively quickly by supplying it one or more lists of links.
It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible.
Dependencies
Uses
{{NavboxCSS}}
CSS class nowraplinks in Common.css
{{Navbar}}
Used by
{{AnomicMissionNav}}
{{COREClassNav}}
{{EVEUniversityNav}}
{{EWAR Links}}
{{GasNebulaeNav}}
{{GettingStartedNav}}
{{Incursions sites horizontal}}
{{Limited time events}}
{{Mining Links}}
{{Missionrelated}}
{{UniWikiNav}}
Syntax
{{Navbox
|name            = {{subst:PAGENAME}}
|navbar          = 
|title           = 
|titleclass      = 
|state           =
|bodyclass       = 
|bodystyle       =
|innerstyle      =
|basestyle       =
|titlestyle      =
|groupstyle      = 
|titlegroupstyle =
|image           = 
|imagestyle      =
|imageleft       =
|imageleftstyle  =
|above           = 
|abovestyle      =
|liststyle       =

|group1          = 
|list1           = 

|group2          = 
|list2           = 
 ...
|group20         = 
|list20          = 

|below           = 
|belowstyle      =
}}
Parameters
The only mandatory parameters are title and list1. Use all class and style parameters sparingly!
name 
The name of the template. Set to {{subst:PAGENAME}} by default. used for the (v)iew, (t)alk and (e)dit link options. May be omitted when navbar is set to plain.
navbar 
Controls the presence of the (v)iew, (t)alk and (e)dit link options. Use plain to suppress.
title 
Text in the title bar.
titleclass 
Applies an CSS class to the title bar. Use sparingly!
state = [autocollapse, collapsed, expanded, plain, off] 
The status of box expansion. Use sparingly!
  • Defaults to autocollapse. A navbox with autocollapse will start out collapsed if there are two or more tables on the same page that use other collapsible tables. Otherwise, the navbox will be expanded.
  • If set to collapsed, the navbox will always start out in a collapsed state.
  • If set to expanded, the navbox will always start out in an expanded state.
  • If set to plain, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered.
  • If set to off, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
bodyclass 
Applies an CSSclass to the entire navbox. Use sparingly!
titlestyle 
A CSS style for the title-bar, such as: background:gray; Use sparingly!
groupstyle 
A CSS style for the group-cells, such as: background:#EEEEEE; Use sparingly!
image 
An optional right-side image, coded as the whole image. Typically it is purely decorative, so it should be coded as [[File:XX.jpg|90px|link=|alt=]]. Use sparingly!
imageleft 
An optional left-side image (code the same as the "image" parameter). Use sparingly!
above 
Text to appear above the group/list section (could be a list of overall wikilinks).
groupn 
The left-side text before list-n (if group-n omitted, list-n starts at left of box).
listn 
Text listing links. See Template:Flatlist.
below 
Optional text to appear below the group/list section.
Sample
{{Navbox
|name = {{subst:PAGENAME}}
|title = Navigational box title
|above = Text written below the title and above the link lists.

|group1 = Group One
|list1 = {{flatlist|
* [[EVE University]]
* [[EVE University Management]]
* [[EVE University Rules]]
}}

|group2 = Group Two
|list2 = {{flatlist|
# [[EVE University]]
# [[EVE University Management]]
# [[EVE University Rules]]
}}

|group20 = Group Twenty
|list20 = {{flatlist|
* [[EVE University]]
** [[EVE University Management]]
** [[EVE University Rules]]
}}

|below = Text written below the link lists.
}}
gives...
See also
Visit Template:Navbox/doc to edit this text! (How does this work?) (Refresh this text - why?)