• Home
  • Random
  • Log in
  • Settings
  • About MKWii TAS Wiki
  • Disclaimers
MKWii TAS Wiki

Template:Navbox

  • Language
  • Watch
  • View source


Template documentation[view] [edit] [history] [purge]

Description

This template should be used in navbox templates, which should 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. {{{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
{{{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

Sample output

{{Navbox
| name = Navbox Name
| title = Navbox Title
| bodyclass = hlist

| group1 = Group 1
| list1 = List 1

| group2 = Group 2
| list2 = {{Navbox|child
 | group1 = Group 2.1
 | list1 = List 2.1

 | group2 = Group 2.2
 | list2 = {{Navbox|child
  | group1 = Group 2.2.1
  | list1 = List 2.2.1

  | group2 = Group 2.2.2
  | list2 = List 2.2.2
  }}

 | group3 = Group 2.3
 | list3 = List 2.3
 }}

| group3 = Group 3
| list3 =
* List 3
* List
* List
}}
TemplateStyles' src attribute must not be empty.
  • v
  • t
  • e
Navbox Title
Group 1
List 1
Group 2
Group 2.1
List 2.1
Group 2.2
Group 2.2.1
List 2.2.1
Group 2.2.2
List 2.2.2
Group 2.3
List 2.3
Group 3
  • List 3
  • List
  • List
The above documentation is transcluded from Template:Navbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://wiki.mkwtas.com/index.php?title=Template:Navbox&oldid=1001"
Last edited on 1 February 2024, at 17:02

Languages

    This page is not available in other languages.

    MKWii TAS Wiki
    • This page was last edited on 1 February 2024, at 17:02.
    • Content is available under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) unless otherwise noted.
    • Privacy policy
    • About MKWii TAS Wiki
    • Disclaimers
    • Desktop