Template:Navbox

From Pizza Tower Wiki

How do I use this thing?

This is documentation about a Template. Portions of this template may not display properly without certain values provided.

Edit this documentation | About the Documentation template

Description
This template is used to create a navigation box (navbox). It's based on specially designed Lua module (see: Module:Navbox).
Syntax
{{navbox
|title = <visible title of navbox>
|template = <template title of navbox for d/e links>
|state = <collapsed/expanded/plain>
|headerN = <subheader title>
|groupN = <group title>
|listN = 
* <row content>
|bodystyle/bodyclass = 
|titlestyle/titleclass = 
|headerstyle/headerclass =  
|groupstyle/groupclass =
|liststyle/listclass = 
}}
  • N stands for number variables
  • Xstyle parameters should contain inline CSS, while Xclass parameters use classes defined in MediaWiki:Common.css or via TemplateStyles
To create a subgroup, the code following listN= must be:
{{Navbox|child
|groupN = 
|listN = 
...}}
Usage examples
Syntax:
{{navbox
|title = Example Navbox
|state = collapsed
|titlestyle = background: green; color: white
|headerstyle = color: white
|header1 = This is subheader
|group1 = This is a group
|list1 =
* This 
* Is
* The
* Stuff
* [[Pizzaboy]]
|group2 = 
{{Navbox|child
|group1 = Subgroup
|list1 = 
* More
* Stuff}}
}}
Results in...
See also
Global Lua Modules/Navbox - detailed documentation at Fandom Developers Wiki