Template:Imbox/test1





David's sandbox for imbox
Here David Göthberg is testing new code versions.

The box above is template code on this page, the boxes below are transclusions of this page and show how that code renders when the box is stacked. If you have updated the code above then you have to purge this page to see the effect on the examples below.



Some text just to test bottom margin.

Special
Some other parameter combinations.

Parameters
List of all parameters:

Examples of varying width
Note: The Creative Commons box above has more padding around the "Some rights reserved" image since that image itself has a lot of whitespace. To fix that the image should be modified, not imbox.

Testing the below parameter
These examples relies on CSS code in MediaWiki:Common.css to make them 100% wide instead of 80% wide when inside another imbox. That is, when an imbox is fed as the "below" parameter to another imbox.

With a left image:

With both a left and right image:

With no images:

Testing mbox-inside
These examples relies on that the surrounding template has the "mbox-inside" class and CSS code in MediaWiki:Common.css to make imboxes 100% wide instead of 80% wide when inside another template.