Template:Navbox

From Diablo Wiki
Jump to: navigation, search
Template-info.png Documentation

Meta-template for building navboxes. A navbox is a grouping of links used in multiple related articles to facilitate navigation between those articles.

Based on wikipedia:Template:Navbox, see documentation there.

Usage

Blank template with commonly use options:

{{Navbox
| name = Navbox/doc
| state = uncollapsed
| title = title
| group1 = Group1
| list1  = List1
| group2 = Group2
| list2  = List2
| group3 = Group3
| list3 = List3
| group4 = Group4
| list4 = List4
}}

Parameters

name
Template name.
title
text in the title bar.
state
controls when a navbox is expanded or collapsed.
above/bellow
optional text to appear above or bellow the group/list section.
group(n)
listn(n)

Styles

Styles are generally advised against, to maintain consistency among templates(MediaWiki:Hydradark.css should be used instead or applied general here); but the option to modify styles parameters are given below, for specific customization or testing purposes:

  • style
  • basestyle
  • titlestylex
  • groupstyle
  • groupnstyle
  • liststyle
  • listnstyle
  • listpadding
  • oddstyle
  • evenstyle
  • abovestyle
  • belowstyle
  • imagestyle
  • imageleftstyle
  • style
  • basestyle
  • titlestylex
  • groupstyle
  • groupnstyle
  • liststyle
  • listnstyle
  • listpadding
  • oddstyle
  • evenstyle
  • abovestyle
  • belowstyle
  • imagestyle
  • imageleftstyle