Template:Alert: Difference between revisions

From Aphelium
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
== Usage ==
== Alert ==
{| class="wikitable"
 
! Parameter !! Description
=== Usage ===
|-
This template renders an alert box
| `type` || Specifies the type of the alert, can be empty (gray), info (blue), warning (orange), danger (red) or success (green).
 
|-
=== Parameters ===
| `content` || Specifies the content of the alert.
* `type` (required): Specifies the type of alert.
|}
* `content` (optional): Specifies the content of the alert.


<div class="alert alert-{{{type}}}>
<div class="alert alert-{{{type}}}>

Revision as of 12:20, 20 May 2023

Alert

Usage

This template renders an alert box

Parameters

  • `type` (required): Specifies the type of alert.
  • `content` (optional): Specifies the content of the alert.
Info-circle.svg

{{{content}}}