https://thief.starforge.co.uk/index.php?title=Template:MenuBox/doc&feed=atom&action=historyTemplate:MenuBox/doc - Revision history2024-03-29T06:38:31ZRevision history for this page on the wikiMediaWiki 1.39.6https://thief.starforge.co.uk/index.php?title=Template:MenuBox/doc&diff=249&oldid=prevThe Watcher: 1 revision: Importing template framework2011-08-25T15:30:16Z<p>1 revision: Importing template framework</p>
<p><b>New page</b></p><div>The {{tl|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. <br />
<br />
== Template Syntax ==<br />
The syntax needed to insert this template into a page is very simple:<br />
<source lang="ini" style="edit-emacs">{{MenuBox<br />
| title = Title to show in the menu box<br />
| content = Content to show in the body of the box, may contain wiki or html markup<br />
}}</source><br />
<br />
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.<br />
<br />
== Example ==<br />
In general, you will rarely need to do anything more complicated than the following example:<br />
<source lang="ini" style="edit-emacs">{{MenuBox<br />
| title = Title to show in the menu box<br />
| content = Content to show in the body of the box, may contain wiki or html markup<br />
}}</source><br />
Generates:<br />
{{MenuBox<br />
| title = Title to show in the menu box<br />
| content = Content to show in the body of the box, may contain wiki or html markup<br />
}}<br />
<br />
== See also ==<br />
* {{tl|MenuBox double}} - a two-column version of this menu box.<br />
* {{tl|MenuBox linkbox}} - a two-column menu box containing links to pages, a 'more' link, and an image.</div>The Watcher