We've moved to wiki.gg! Check us out and bookmark our new URL at https://boingboinganimals.wiki.gg/

Account creation on this wiki has been disabled, and edits will not be saved.

Template:Navbox

From Boing Boing Animals Wiki
Template documentation (edithistorypurge)

Description

This template is a base for navboxes, which creates a collapsible list of links at the bottom of the page.

Parameters

Parameter Description
name The name of the template (when creating a new template, {{subst:PAGENAME}} can be used)
title Text that displays in the title bar of the navbox.
expanded Set to true to have the template expanded. Otherwise, it will be collapsed on default.
titlestyle Specify additional styling for the title bar. (optional)
groupstyle Specify additional styling for the left column, ie. categorization. (optional)
liststyle Specify additional styling for the right columns, ie. "list of links" (optional)
section1 Content that goes in a subheader. (optional)
group1 Content that goes in the left column. Goes up to "group10".
list1 Content that goes in the right column. Goes up to "list10".
content If no group is specified, this parameter should be used in place of the "list" parameters.

Sample output

{{navbox
|name = Slimes
|title = Slimes
|expanded = true
|group1=General
|list1=<nowiki></nowiki>
*[[Egg]]
*[[Baby Slime]]
*[[Teen Slime]]
*[[Adult Slime]]
*[[Granny Slime]]
|group2=Cats
|list2=<nowiki></nowiki>
*[[Kiddo Cat]]
*[[Teen Cat]]
*[[Teen Serval]]
*[[Peach Cat]]
}}
gives...