Template:MenuBox
Jump to navigation
Jump to search
Creates a right-floating navigation box. This template will normally be wrapped in another.
Parameters
Parameter | Description | Example |
---|---|---|
{{{title}}} | Title of the menu box. | |
{{{link}}} | Adds a link for the title. If this is not set, it will use the {{{title}}} as the link. | |
{{{nolink}}} | Prevents the link from being loaded. Useful for pages that don't have a page for it. | |
{{{icon}}} | A file link that will be placed before the title. | |
{{{text}}} | Used for adding a list of items or text. | |
{{{txtcolor}}} | Color of the content text. | |
{{{bgcolor}}} | Main background color. | |
{{{bgcolor2}}} | Title box colormain background color. | |
{{{bdcolor}}} | Outer border color. | |
{{{bdcolor2}}} | Bottom border on title box. | |
{{{nofloat}}} | Sets the position to be inline. |
Preview and example
{{MenuBox | title = Main Page | icon = {{hl2}} | text = <span> # MenuBox List Item 1 # MenuBox List Item 2 # MenuBox List Item 3 # MenuBox List Item 4 # MenuBox List Item 5 # MenuBox List Item 6 # MenuBox List Item 7 </span> }}
The above documentation is transcluded from Template:MenuBox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.