Template:Navbox top/doc

From imedwiki
< Template:Navbox top
Jump to navigation Jump to search

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

{{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}}

Script error: No such module "navbox top and bottom".

Script error: No such module "navbox top and bottom".

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}}

Script error: No such module "navbox top and bottom".

Script error: No such module "navbox top and bottom".

This template is based (in parts) on the Template:Navbox top/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.