User:Dark0805/Sandbox/Templates/Nav Box

From Bulbapedia, the community-driven Pokémon encyclopedia.
< User:Dark0805
Revision as of 17:10, 27 November 2007 by Dark0805 (Talk | contribs) (New page: {| align="center" style="width: 100%; clear: both; background-color: {{{boxbackcolor|#ffffff}}}; border-width: thin; border-style: solid; border-color: {{{bordercolor|#bebebe}}}; padding: ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{{title}}}
{{{list}}}


Description

This box is intended for fast vertical navigation between related topics, e.g. between skills of the same attribute or between explorable areas of the same region, as is standard in Wikipedia.

Usage

The template follows the standard call with named parameters.

{{NavBox|parameter=value|...}}

Required parameters

title
the text that will be displayed in the upper title area
list
the list of wiki links for the actual navigation, given by standard [[...]] syntax and an delimiter symbol, if desired

Optional parameters

image
an optional image that will be displayed to the right, given by standard [[Image:...]] syntax
align
the alignment of the list within the box, should be one of left, right or center (default)
titlefontsize
the font size of the title text, should be a relative identifier such as smaller, normal (default) or larger, or an absolute identifier such as xx-small, x-small, small, medium, large, x-large, xx-large
listfontsize
the font size of the list within the box, should be a relative identifier such as smaller (default), normal or larger, or an absolute identifier such as xx-small, x-small, small, medium, large, x-large, xx-large
titlecolor
color of the title text, given either as rgb value #rrggbb or as reserved color word, default is #000000
listcolor
color of the text within the list of wiki links, given either as rgb value #rrggbb or as reserved color word, default is #000000
titlebackcolor
color of the title background, given either as rgb value #rrggbb or as reserved color word, default is #efefef
boxbackcolor
color of the box background, given either as rgb value #rrggbb or as reserved color word, default is #ffffff
bordercolor
color of the box border, given either as rgb value #rrggbb or as reserved color word, default is #bebebe
category
an optional category that will be set for all pages with this navigation box, given by standard [[Category:...]] syntax

Example

For instance, the following box can be placed on each of the official tournament pages.

Wiki sourcecode

{{NavBox
 |title=Guild Wars Championship Series
 |list=[[Guild Wars World Championship]] • [[Guild Wars Factions Championship]]
 |image=[[Image:Flag_Symbol_Transparent.png|40px]]
 |category=[[Category:Tournament]]
}}

Output

Template:NavBox