Template:MenuBox/doc: Difference between revisions
Jump to navigation
Jump to search
The Watcher [PHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs) m (1 revision: Importing template framework) |
(No difference)
|
Latest revision as of 15:30, 25 August 2011
The {{MenuBox}} template creates a bordered box, with a styled header, that takes up the majority of the width of a page. It is intended to be used to contain header and introductory material for menu pages (like the Main Page), but could be used in other situations.
Template Syntax
The syntax needed to insert this template into a page is very simple:
{{MenuBox
| title = Title to show in the menu box
| content = Content to show in the body of the box, may contain wiki or html markup
}}
The title argument is optional, but you are strongly advised to include it. As indicated, the content argument may contain any valid wiki content, including html markup, but you should exercise caution when using any complicated markup, otherwise you may accidentally break the page layout.
Example
In general, you will rarely need to do anything more complicated than the following example:
{{MenuBox
| title = Title to show in the menu box
| content = Content to show in the body of the box, may contain wiki or html markup
}}
Generates:
Title to show in the menu box
Content to show in the body of the box, may contain wiki or html markup
See also
- {{MenuBox double}} - a two-column version of this menu box.
- {{MenuBox linkbox}} - a two-column menu box containing links to pages, a 'more' link, and an image.