Template:Alert: Difference between revisions
From Aphelium
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Alert/styles.css"/> | <templatestyles src="Alert/styles.css"/> | ||
<div class="alert alert-{{{type}}}> | <div class="alert alert-{{{type}}}> | ||
<div class="alert-icon"> | <div class="alert-icon"> | ||
{{#switch: {{{type}}} | {{#switch: {{{type}}} | ||
| info = [[File: | | info = [[File:Information-circle.svg|thumb]] | ||
| warning = [[File:Warning-circle.svg]] | | warning = [[File:Warning-circle.svg|thumb]] | ||
}} | }} | ||
</div> | </div> |
Revision as of 13:25, 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 |