Template:Navbox/doc

From Dyrdex.com
Revision as of 23:15, 23 January 2026 by Admin (talk | contribs) (Created page with "== Usage == Please remove the parameters that are left blank. <pre style="overflow:scroll;">{{Navbox |name = {{subst:PAGENAME}} |title = |image = |above = |group1 = |list1 = |group2 = |list2 = ... |group20 = |list20 = |below = }}</pre> ==Parameter list== {{Navbox |name = Navbox/doc |state = uncollapsed |image = {{{image}}} |title = {{{title}}} |above = {{{above}}} |group1 = {{{group1}}} |list1 = {{{list1}}} |group2 = {{{group2}}} |list2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Please remove the parameters that are left blank.

{{Navbox
|name    = {{subst:PAGENAME}}
|title   = 
|image   = 
|above   = 

|group1  = 
|list1   = 

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

|below   = 
}}

Parameter list

Template:Navbox The navbox uses lowercase parameter names, as shown in the box (at right). The mandatory name and title will create a one-line box if other parameters are omitted.

Notice "group1" (etc.) is optional, as are sections named "above/below". Template:- The basic and most common parameters are as follows (see below for the full list):

name - the name of the template.
title - text in the title bar, such as: [[Widget stuff]].
state - autocollapse, uncollapsed, collapsed: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.
titlestyle - a CSS style for the title-bar, such as: background:gray;
groupstyle - a CSS style for the group-cells, such as: background:#eee;
image - an optional right-side image (coded as the whole image tag: [[Image:XX.jpg|90px]] ).
imageleft - an optional left-side image (code the same was as the "image" parameter).
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 wikilinks, often separated by middot templates, such as: [[A]]{{·}} [[B]]
below - optional text to appear below the group/list section.