User:Datumizer/Sandbox/Vertbox/doc

From Wikipedia, the free encyclopedia

Parameters[edit]

Part of a series on:
Video games

The navbox uses lowercase parameter names. The mandatory name and title will create a one-line box if other parameters are omitted. Notice "group1" (etc.) is optional.

The basic and most common parameters are as follows:

name — the name of the template.
title — text in the title bar, such as: [[Widget stuff]].
state — the status of box expansion, where "autocollapse" hides stacked navboxes automatically. Can be autocollapse, uncollapsed or collapsed. The default is collapsed.
focus — forces the group with the same number to have an uncollapsed state while leaving the other groups alone.
bgcolor — the background color of header cells.
image — an optional top-side image (coded as the whole image tag: [[Image:XX.jpg|90px]] ).
groupn — the top-side text before list-n.
listn — text listing wikilinks, often separated by bullets.

Subgroups[edit]

You can create subgroups of items that behave much like the main groups. You do this by using {{User:SharkD/Sandbox/Vertbox subgroup}} within the listn items. The syntax is more or less the same, except that there are much fewer parameters.