Template:MenuBox double: Difference between revisions
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 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
|
Title to show in the right box
|
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.
The above documentation is transcluded from Template:MenuBox double/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |