Template:Navigation Box

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{Navigation Box}}. It is transcluded from Template:Navigation Box/doc and may be directly edited there.
  • This template is used to make a basic navigation box, with a header and one or more rows of data. The data is usually a list of links to other pages.

Basic Usage

The following basic parameters are accepted:

  • collapse (optional): Controls the [show/hide] button in the top right corner. Set this to "collapsed", or leave it blank for uncollapsed.
  • background (optional): Sets the background colour for the main text area. The value is a 24-bit hex value, e.g. "f0f0f0". The default colour is specified in MediaWiki:Common.css.
  • color (optional): Sets the background colour for the header.
  • class (optional): Applies a CSS class to the table, which can be referenced in Lotro-Wiki skin files (MediaWiki:Common.css, MediaWiki:Darkvector.css)
  • header: (required) The text which appears in the header at the top of the box.
  • body: (optional) The text which appears in the area under the header.

Example

 {{Navigation Box
 | header = [[Ivar]]'s Champions
 | body = [[Dúngorth]] • [[Matumáth]] • [[Matúrz-olog]] • [[Narslaug]]
 }}

Advanced Usage

The data area can be split into rows, using the following parameters:

  • row1-label: (optional, but required if row1-body is used) The label for the first row, which appears at the left side of the window.
  • row1-body: (optional) The data for the first row.
  • row1-header: (optional) An optional header to be placed before row 1.
. . .
  • row100-label
  • row100-body
  • row100-header

Example

 {{Navigation Box
 | header = LOTRO Anniversary Gift Boxes
 | row1-label = '''Free People:'''
 | row1-body = [[Item:Battle Gift Box|]] • [[Item:Legendary Gift Box|]] • [[Item:Platinum Gift Box|]]
 | row2-label = '''Monster Play:'''
 | row2-body = [[Item:Grim Skull Box|]]
 | row3-header = Another header here
 | row3-label = Label:
 | row3-body = Some more stuff here
 }}