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