Template:MenuBox double/doc

Building pieces of another world.
Jump to navigation Jump to search

The {{MenuBox double}} template creates a pair of menu boxes side by side, with optional titles and any desired contents.

Template Syntax

The syntax used to insert this template into your page is very similar to that used for the {{MenuBox}} template, except that there are two sets of title and contents:

{{MenuBox double
| title1=Title to show in the left box
| content1=The contents of the left box, may include wiki markup or html
| title2=Title to show in the right box
| content2=The contents of the right box, may include wiki markup or html
}}

title1 and content1 are the title and content for the left box, while title2 and content2 are the title and content for the right box. The two titles are optional, and you may specify a title for one side while omitting the other (ie: just because you specify one title, it does not mean that you need to specify both.) As with the {{MenuBox}} template, the content arguments may contain wiki and html markup, but you should exercise caution when using any complicated markup, otherwise you may accidentally break the page layout.

Example

Using the example code here:

{{MenuBox double
| title1=Title to show in the left box
| content1=The contents of the left box, may include wiki markup or html
| title2=Title to show in the right box
| content2=The contents of the right box, may include wiki markup or html
}}

Will generate

Title to show in the left box
The contents of the left box, may include wiki markup or html
Title to show in the right box
The contents of the right box, may include wiki markup or html

See also

  • {{MenuBox}} - a single column, page-spanning version of this template.
  • {{MenuBox linkbox}} - a two-column menu box containing links to pages, a 'more' link, and an image.

Authors

  • gravatar The Watcher [userbureaucratsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+]