• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Navbox top

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Navbox top and bottom

This template may be used for embedding wikitables (or other difficult to embed content) inside of navboxes.

Contents

  • 1 Usage
  • 2 Examples
    • 2.1 Simple example
    • 2.2 Scrolling table

Usage

The syntax is the same syntax used for {{navbox}} with the table placed between the {{navbox top}} and {{navbox bottom}} templates. Any content that would normally appear before the first list (list1) should be passed to the top template, and any content that would normally appear after the first list (list1) should be passed to the bottom template. Any content passed through |list1= is ignored.

Examples

Simple example

{{navbox top
| name = {{subst:PAGENAME}}
| title = Title
| state = {{{state|}}}
| above = Above
}}
{| style="width:100%" class="wraplinks"
! Header1
! Header2
|-
| Item 1
| Item 2
|}
{{navbox bottom|below=Below}}
  • v
  • t
  • e
Title
Above
Header1 Header2
Item 1 Item 2
Below

Scrolling table

{{navbox top
| name = {{subst:PAGENAME}}
| title = Title
| above = Above
| state = {{{state|}}}
| innerstyle = table-layout:fixed
}}<div style="overflow:auto">
{| style="width:100%;min-width:150em" class="wraplinks"
! Header1
! Header2
|-
| Item 1
| Item 2
|}</div>
{{navbox bottom|below=Below}}
  • v
  • t
  • e
Title
Above
Header1 Header2 Header3 Header4 Header5 Header6 Header7 Header8 Header9
Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7 Item 8 Item 9
Below
The above documentation is transcluded from Template:Navbox top/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://safernicotine.wiki/mediawiki/index.php?title=Template:Navbox_top&oldid=26016"
Last edited on 8 September 2025, at 20:53
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • This page was last modified on 8 September 2025, at 20:53. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement