Template:Alert: Difference between revisions
From Aphelium
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
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 | |||
| warning = Warning-circle.svg | |||
}} | |||
</div> | </div> | ||
{{{content}}} | {{{content}}} |
Revision as of 13:19, 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 |