More languages
More actions
Created page with "<div class="box box-{{type}}"> {{#if: {{{header|}}}| <h3> {{{header}}} </h3> }} <span> {{{content}}} </span> </div> <noinclude> <templatedata> { "params": { "content": { "description": "Content", "type": "content" }, "header": { "type": "string", "aliases": [ "title" ], "description": "Title of the box" }, "type": { "description": "Type of info box", "type": "string", "suggestedvalues": [ "primary", "info", "warning"..." |
m Fixed type class on div |
||
| Line 1: | Line 1: | ||
<div class="box box-{{type}}"> | <div class="box box-{{{type}}}"> | ||
{{#if: {{{header|}}}| | {{#if: {{{header|}}}| | ||
<h3> | <h3> | ||
Latest revision as of 00:39, 17 April 2025
{{{content}}}
Create a notice, info, or warning box
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content | Content | Content | optional |
| header | header title | Title of the box | String | optional |
| type | type | Type of info box
| String | optional |
| image | image | Image to the left of the message | URL | optional |
| icon | icon | Icon to left of text | String | optional |
Create a box like the one shown above.
Use the type parameter to specify what type of box to make. The options are: primary, info, warning, danger.