Jump to content

Template:Navbox: Difference between revisions

From Neptunia Wiki
m 1 revision imported: Imported from Neptunia Wiki on Fandom
m Protected "Template:Navbox": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Navbox|main}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 03:34, 6 March 2025

Documentation icon 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)
{{{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-unlimited}}} Adds the heading for the group number specified {{{group1}}} = {{{group1}}}
{{{group2-unlimited}}} = None
{{{list1-unlimited}}} Adds text for the list number specified {{{list1}}} = {{{list1}}}
{{{list2-unlimited}}} = 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
}}

See also