Template:Banner
Jump to navigation
Jump to search
Usage Examples
| Template Call | Output |
|---|---|
{{Banner
|text = This is an example banner.
}}
|
TemplateData
This template renders a configurable banner box with an icon and text.
It uses wikitext to replicate the banner boxes from Module:Message box, leaving out the unnecessary namespace-awareness and type system logic.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | text | Displayed banner content. | Content | required |
| Border color | color | Color value for the left border. Defaults to #72777d (grey).
| String | optional |
| Icon | image | Full file name with extension.
| File | optional |
| Max Width | width | Maximum width of the banner.
| String | optional |
| Extra classes | class | Additional CSS classes to apply to the banner. | String | optional |
| Extra styles | style | Additional CSS styles to apply to the outermost div. | String | optional |