Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Special pages
Random page
Wiki Discord
Contents
Neighbors
Galaxy
> Hexia
> Norvan
> Pashah
> Taffeh
Creatures
> Insects
> Fishes
> Shore-Dwellers
Items
> Dishes
> Furniture
Game Systems
> Dress Up
> Luca Arbor
> Loomix Footprints
> Loomix Vehicle Services
> Loomix Homes
Search
Search
Appearance
Log in
Personal tools
Log in
Editing
Template
:
Navbox/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation/Header}} {{Lua|Navbox}} {{CSS|Gadget-Navbox}} Template that creates a standard navigation box. * For full documentation: [https://support.wiki.gg/wiki/RANGER_navboxes RANGER navboxes] * For the full list of supported parameters: [https://support.wiki.gg/wiki/RANGER_navboxes Template:Navbox] ==Syntax== <syntaxhighlight lang="wikitext" copy> {{Navbox |title = |striped = even |edit_link = off |group1 = |list1 = |group2 = |list2 = }} </syntaxhighlight> ==Examples== ===Multiple subgroups=== {{Example|<nowiki> {{Navbox |title = Items |striped = even |edit_link = off |above = Some items are restricted to specific classes; see Classes for more information. |below = Update 1.2 |below_class = align-right |group1 = Consumables |list1 = * Health Potion * Mana Potion |group2 = Weapons |group2.1 = Swords |list2.1 = * Wooden Sword * Rusted Sword * Steel Sword |group2.2 = Bows |list2.2 = * Shortbow * Crossbow * Longbow }} </nowiki>}} ===Multiple expands/collapses in a single container=== {{Example|<nowiki> {{Navbox |title = Items |striped = even |edit_link = off |header1 = Consumables |header1.1 = Potions |list1.1 = * Revitalizing Potion * Teleport Potion |group1.1.1 = Health |list1.1.1 = * Health Potion * Large Health Potion * Elixir of Healing |group1.1.2 = Mana |list1.1.2 = * Mana Potion * Large Mana Potion * Elixir of Magic |header1.2 = Scrolls |list1.2 = * Scroll of Poison |header3 = Weapons |state3 = collapsed |group3 = Swords |list3 = * Wooden Sword * Rusted Sword * Steel Sword |group4 = Bows |list4 = * Shortbow * Crossbow * Longbow |group5 = Staves |list5 = * Basic Staff * Wizard's Staff }} </nowiki>}} ==Template Data== <templatedata> { "params": { "title": { "label": "Title", "description": "Text that appears at the top of the navbox.", "type": "string", "suggested": true }, "striped": { "label": "Striped", "description": "Controls if the navbox rows should have zebra striping on even or odd rows, making it easier for users to distinguish two rows apart from each other. If sections are used, each section resets the even/odd counter.", "example": "on, yes, striped, even, odd, swap", "type": "string", "suggested": true }, "edit_link": { "label": "Edit link", "description": "Controls if an edit icon should be displayed at the top-left of the navbox, making it easier for users to interact with the template itself.", "example": "off, no", "type": "string", "default": "on" }, "state": { "aliases": [ "collapsible" ], "label": "State", "description": "Controls if a navbox should be expanded or collapsed when the page loads. This only affects the whole navbox; if sections are used, they are treated differently.", "example": "expanded, collapsed, off, no, plain", "type": "string", "default": "expanded" }, "headern": { "aliases": [ "header1", "header2", "header3" ], "label": "Header n", "description": "Text that appears at the top of the section, where n is any positive integer.", "type": "string" }, "groupn": { "aliases": [ "group1", "group2", "group3" ], "label": "Group n", "description": "Text label for a list, which appears on the left on desktop or at the top on mobile, where n is any positive integer.", "type": "string" }, "listn": { "aliases": [ "list1", "list2", "list3" ], "label": "List n", "description": "A wikitext list, where n is any positive integer.", "type": "content" }, "groupn.x": { "aliases": [ "group1.1", "group1.2", "group2.1.1" ], "label": "Group n.x", "description": "Text label for sub-lists that appear under groupn, groupn.x, etc.", "type": "string" }, "listn.x": { "aliases": [ "list1.1", "list1.2", "list2.1.1" ], "label": "List n.x", "description": "Wikitext sub-lists.", "type": "content" } }, "description": "Template that creates a standard navigation box.", "format": "block", "paramOrder": [ "title", "striped", "edit_link", "state", "headern", "groupn", "listn", "groupn.x", "listn.x" ] } </templatedata>
Summary:
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Petit Planet Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Below are commonly used wikitext from
MediaWiki:Edittools
. Click on any to insert them in the edit box.
File Pages
==Summary==
==Licensing==
{{Fairuse}}
{{File|}}
Dynamic Page List
¦
²
«
»
²{¦}²
«»
«/»
«!----»
Array in DPL
¹
^2{
}^2
^2{¹}^2
Parser Functions
{{#if:||}}
{{#if:<condition>|<result if true>|<result if false>}}
{{#ifeq:|||}}
{{#ifeq:<text1>|<text2>|<result if text1=text2>|<result if text1≠text2>}}
{{#expr:}}
{{#expr:<mathematical expression>}}
{{#switch:||#default=}}
{{#switch:<text1>|<text2>=<result if text1=text2>|<text3>=<result if text1=text3>|#default=<result if no valid match>}}
{{#replace:||}}
{{#replace:<text1>|<plain text to find in text1>|<plain text to insert in place of the text found>}}
{{#titleparts:}}
{{#replace:<page name>}}
{{#tag:|}}
{{#tag:<name of html tag>|<content inside html tag>}}
Markup
{{}}
|
[]
[[]]
[[Category:]]
#REDIRECT [[]] [[Category:Redirect Pages]]
<code></code>
<includeonly></includeonly>
<noinclude></noinclude>
<nowiki></nowiki>
<!---->
<br>
§
Notices
{{Stub|}}
{{Stub Dialogue}}
{{Upcoming}}
{{Under Construction}}
{{Placeholder|}}
Magic Words
{{!}}
{{formatnum:}}
{{lc:}}
{{uc:}}
{{PAGENAME}}
{{FULLPAGENAME}}
{{ROOTPAGENAME}}
{{BASEPAGENAME}}
{{SUBPAGENAME}}
{{DISPLAYTITLE:|noreplace}}
__TOC__
__NOTOC__
__EXPECTUNUSEDCATEGORY__
__HIDDENCAT__
HTML Entities
—
,
­
Pages included on this page:
Template:Array
(
edit
)
Template:CSS
(
edit
)
Template:Documentation/Header
(
edit
)
Template:Documentation/styles.css
(
edit
)
Template:Example
(
edit
)
Template:Lua
(
edit
)
Template:MessageBox
(
edit
)
Template:Namespace
(
edit
)
Template:Navbox
(
edit
)
Module:Arguments
(
edit
)
Module:Arguments/i18n
(
edit
)
Module:Array
(
edit
)
Module:Common/i18n
(
edit
)
Module:Config
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/i18n
(
edit
)
Module:Entrypoint
(
edit
)
Module:Example
(
edit
)
Module:Exists
(
edit
)
Module:Fallbacklist
(
edit
)
Module:Feature
(
edit
)
Module:I18n
(
edit
)
Module:Languages
(
edit
)
Module:Mbox
(
edit
)
Module:Mbox/i18n
(
edit
)
Module:Namespace detect
(
edit
)
Module:Namespace detect/config
(
edit
)
Module:Namespace detect/data
(
edit
)
Module:Navbox
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
Search
Search
Editing
Template
:
Navbox/doc
Add topic