Template:Alert: Difference between revisions

From Aphelium
No edit summary
Tag: Reverted
(Undo revision 278 by Aphelium (talk))
Tag: Undo
 
Line 2: Line 2:
<div class="alert-icon">
<div class="alert-icon">
{{#switch: {{{type}}}
{{#switch: {{{type}}}
| info = <i class="fas fa-info" />
| info = [[File:Infor-circle.png]]
| warning = <i class="fas fa-times" />
| warning = [[File:Warning-circle.svg]]
}}
}}
</div>
</div>

Latest revision as of 15:57, 22 May 2023

{{{content}}}

An alert box

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

no description

Suggested values
info warning danger success
Example
info
Stringrequired
Contentcontent

The content of the alert

Example
This is an info box
Contentrequired