Template:Alert: Difference between revisions
From Aphelium
No edit summary Tag: Manual revert |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="alert alert-{{{type}}}> | <div class="alert alert-{{{type}}}> | ||
<div class="alert-icon"> | <div class="alert-icon"> | ||
{{#switch: {{{type}}} | |||
| info = Info-circle.svg | | info = [[File:Info-circle.svg]] | ||
| warning = Warning-circle.svg | | warning = [[File:Warning-circle.svg]] | ||
}} | }} | ||
</div> | </div> | ||
{{{content}}} | {{{content}}} |
Revision as of 13:24, 20 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 |