Template:Main page box
Jump to navigation
Jump to search
This template is used to create the boxes of the IMProved Main Page (IMP) framework. It should not be called directly, instead using Template:Tl and Template:Tl.
Use the box below to create a page with the required templates already in place, ready for you to add your content.
The box name can not contain spaces or start with a number. Those are probably the only restrictions you'll run into, but for a full list see <custom-ident> on MDN web docs.
Parameters
These are the parameters used by Template:Tl. All parameters are optional.
| Name | Data type | Description |
|---|---|---|
| title | Wikitext | The title of the box. This can be empty, in which case the box will contain only the content. |
| class | CSS classes | A list of classes to be passed to the box, separated by spaces and without quotes. Standard options are centered-content to vertically center contents, and has-floating-image in case floating images are needed in the box (normally the flex layout disallows this).
|
| style | CSS declarations | Inline CSS to be applied directly to the box, without quotes. A common usage is text-align:center; for cases where it's desired for individual boxes to have centered text.
|