Navigation boxes
Jump to navigation
Jump to search
Navigation boxes (navboxes) are boxes that are placed at the bottom of a wiki article/page to provide easier navigation to related pages. This gives readers the ability to easily find more content on the wiki and spend more time on it.
Installation
- Copy
{{Navbox}}m
to your wiki. - Copy
{{Navbox}}
to your wiki. - Copy the contents of
Gadget - navbox.css
to your wiki's MediaWiki:Common.css . - Done!
Manual
See {{Navbox}}
for full documentation. Please copy this documentation along with the template code if installing to your wiki!
{{Example Navbox 1}}
- a one-row navbox without any group labels, starting collapsed{{Example Navbox 2}}
- a one-row navbox without any group labels, starting expanded (uncollapsed){{Example Navbox 3}}
- a two-row navbox with group labels, starting collapsed{{Example Navbox 4}}
- a two-row navbox with group labels, starting expanded (uncollapsed){{Example Navbox 5}}
- a two-row navbox where the second row is actually a sub-navbox and starts out collapsed, while the rest of the navbox is expanded
Troubleshooting
- I can't see my navboxes on mobile!
- Head to your MediaWiki:Common.css and remove all the code underneath @720 variable in
/* Mobile adjustments */
then refresh your cache.
- Head to your MediaWiki:Common.css and remove all the code underneath @720 variable in