Difference between revisions of "Template:Navbox top"
m (Protected "Template:Navbox top": High-risk template or module: 3930 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))) |
(No difference)
|
Revision as of 17:59, 4 November 2021
Lua error in package.lua at line 80: module 'strict' not found. This template may be used for embedding wikitables (or other difficult to embed content) inside of navboxes.
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
<syntaxhighlight lang=moin> Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}.
Header1 | Header2 |
---|---|
Item 1 | Item 2 |
</syntaxhighlight>
Scrolling table
<syntaxhighlight lang=moin>
Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}.
Header1 | Header2 |
---|---|
Item 1 | Item 2 |
</syntaxhighlight>