Template:Navbox

From TerraFirmaCraft Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.

Usage

Parameter(s) Usage Default value(s)
{{{name}}} Should be identical to the template's name without namespace. Does nothing unless {{{1}}} is set to navbar or navbar-mini. {{{name}}}
{{{title}}} Sets the title used at the top of the navbox. {{{title}}}
{{{state}}} Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. collapsible collapsed
{{{1}}} child: The template can be used to have a sub-set of groups within another navbox.

navbar: Will add a navigation bar giving links to view, discuss, and edit the template. Requires {{{name}}} to be set. Note: This will only correctly link to templates that are actually in the Template: namespace.

navbar-mini: Identical to navbar, except the titles of the links are v, d, and e instead of view, discuss, and edit.

None
{{{placement}}} When {{{1}}} is set to child, specifies where the child is placed within the navbox group. Leave blank if it is the only thing in the group, top if it is placed at the top of the group (text below it), middle if it is in the middle of the group (text above and below it), or bottom of it is placed at the bottom of the group (text above it). None
{{{titlestyle}}} Allows custom styling for the title area None
{{{bodystyle}}} Allows custom styling for the body area None
{{{groupstyle}}} Allows custom styling for the group area None
{{{liststyle}}} Allows custom styling for the list area None
{{{group1-20}}} Adds the heading for the group number specified {{{group1}}} = {{{group1}}}
{{{group2-20}}} = None
{{{list1-20}}} Adds text for the list number specified {{{list1}}} = {{{list1}}}
{{{list2-20}}} = None

Example


Visit Template:Navbox/doc to edit this text! (How does this work?)