Template:Navbox/doc
Jump to navigation
Jump to search
Description
This template is used as the basis for other navbox templates.
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.
|
theme | Specify as light or dark depending on the background colour of the title header. It will affect the text colour and collapse/expand links at the top.
|
class | Specify which style the navbox should use for its colour scheme, to be put in MediaWiki:Common.css. |
section1 | Content that goes in a subheader. (optional, up to "section10") |
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 can be put in the form of a bulleted list, and sub-bullet points will show up in parentheses to the right of the main bullet point. Start the list with <nowiki></nowiki> tags and a bullets on a new line.
|
content | If no group is specified, this parameter should be used in place of the "list" parameters. |
Sample output
{{Navbox |title=Toxic series |class=toxic |theme=dark |name=Toxic series |group1=General |list1=<nowiki></nowiki> *[[Toxic series]] **[[Toxic]] **[[Toxic 2]] *[[Hazmat Hero]] *[[AI]] **[[AI/Quotes|Quotes]] *[[Teleporters (Toxic)|Teleporters]] **[[Teleporters (Toxic)#Red teleporters|Red]] **[[Teleporters (Toxic)#Blue teleporters|Blue]] **[[Teleporters (Toxic)#Green teleporters|Green]] *[[Factories (Toxic series)|Factories]] *[[Grids]] |group2=Enemies |list2=<nowiki></nowiki> *[[Basic robots]] *[[Hovering robots]] *[[Spider robots]] *[[Wheel robots]] *[[Shark robots]] *[[Exploding robots]] *[[Fly robots]] *[[Charging robots]] *[[Hive robots]] *[[Maggot bots]] *[[Bomb shooting robots]] *[[Cannon robots]] *[[Digging robots]] *[[Acid shooting mines]] *[[Three-legged robots]] *[[Robotic squids (Toxic)|Robotic squids]] |group3=Bosses |list3=<nowiki></nowiki> *[[Bigfoot]] *[[Mother]] |group4=Hazards |list4=<nowiki></nowiki> *[[Spikes (Toxic)|Spikes]] *[[Lasers (Toxic)|Lasers]] *[[Acid]] *[[Bomb blasters]] *[[Pipes (Toxic)|Pipes]] **[[Red pipes|Red]] **[[Metal pipes|Metallic]] |group5=Pickups |list5=<nowiki></nowiki> *[[Samples]] *[[Health cases]] *[[Bomb spawners]] |group6=Bombs |list6=<nowiki></nowiki> *[[Basic bombs]] *[[Mega bombs]] *[[Sticky bombs]] *[[Drill bombs]] *[[Throw bombs]] *[[Cluster bombs]] *[[Digger bombs]] *[[Ledge bombs]] *[[Runner bombs]] }}
gives...
v • d • eToxic series | |
---|---|
General | |
Enemies | |
Bosses | |
Hazards | |
Pickups | |
Bombs |