Editing Template:Navbox/doc
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
{{Lua|Navbox}} | {{Lua|Navbox}} | ||
{{CSS| | {{CSS|Navbox}} | ||
Template that creates a standard navigation box. | Template that creates a standard navigation box. | ||
For full documentation: [https://support.wiki.gg/wiki/RANGER_navboxes RANGER navboxes] | |||
==Syntax== | ==Syntax== | ||
< | <pre> | ||
{{Navbox | {{Navbox | ||
|title = | |title = | ||
|striped = even | |striped = even | ||
| | |editlinks = off | ||
|group1 = | |group1 = | ||
|list1 = | |list1 = | ||
| Line 18: | Line 17: | ||
|list2 = | |list2 = | ||
}} | }} | ||
</ | </pre> | ||
==Examples== | ==Examples== | ||
===Multiple subgroups=== | ====Multiple subgroups==== | ||
<pre> | |||
{{Navbox | {{Navbox | ||
|title = Items | |title = Items | ||
|striped = even | |striped = even | ||
| | |editlinks = off | ||
|above = Some items are restricted to specific classes; see Classes for more information. | |above = Some items are restricted to specific classes; see Classes for more information. | ||
|below = Update 1.2 | |below = Update 1.2 | ||
| Line 48: | Line 47: | ||
* Longbow | * Longbow | ||
}} | }} | ||
</ | </pre> | ||
{{Navbox | {{Navbox | ||
|title = Items | |title = Items | ||
|striped = even | |striped = even | ||
| | |editlinks = 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 | |||
}} | |||
====Multiple expands/collapses in a single container==== | |||
<pre> | |||
{{Navbox | |||
|title = Items | |||
|striped = even | |||
|header1 = Consumables | |header1 = Consumables | ||
| Line 93: | Line 117: | ||
* Wizard's Staff | * Wizard's Staff | ||
}} | }} | ||
</ | </pre> | ||
{{Navbox | |||
|title = Items | |||
|striped = even | |||
== | |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 | |||
}} | |||
} | |||