Difference between revisions of "Template:Alerts"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#switch: {{{alert|}}} | {{#switch: {{{alert|}}} | ||
| warning = | | warning = | ||
− | <div class="alert alert-warning alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p></div> | + | <div class="alert alert-warning alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p><div type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></div></div> |
| danger = | | danger = | ||
− | <div class="alert alert-danger alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p></div> | + | <div class="alert alert-danger alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p><div type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></div></div> |
| dark = | | dark = | ||
− | <div class="alert alert-dark alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p></div> | + | <div class="alert alert-dark alert-dismissible fade show" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p><div type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></div></div> |
|#default = | |#default = | ||
<div class="alert alert-light" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p></div> | <div class="alert alert-light" role="alert"><h4 class="alert-heading">{{{1|}}}</h4><p>{{{2|}}}</p></div> | ||
}} | }} |