Template:Alert: Difference between revisions
From Aphelium
No edit summary |
Tag: Undo |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="alert alert-{{{type}}}> | <div class="alert alert-{{{type}}}> | ||
<div class="alert-icon">[[File: | <div class="alert-icon"> | ||
{{#switch: {{{type}}} | |||
| info = [[File:Infor-circle.png]] | |||
| warning = [[File:Warning-circle.svg]] | |||
}} | |||
</div> | |||
{{{content}}} | {{{content}}} | ||
</div> | </div> |
Latest revision as of 15:57, 22 May 2023
{{{content}}}
An alert box
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | no description
| String | required |
Content | content | The content of the alert
| Content | required |