Jump to content

Template:Alert: Difference between revisions

From Consumer_Action_Taskforce
fix cate casing
Nescap (talk | contribs)
m fixed the background color to work with dark mode
Line 1: Line 1:
<div class="notification-alert" style="displey:flex;width:fit-content;min-width:300px;background-color: #f0f8ff; border: 0.2rem solid #a3c1ff; padding: 0.5rem 0; margin: 10px 0;">
<div class="notification-alert" style="displey:flex;width:fit-content;min-width:300px;background-color: var(--background-color-interactive-subtle,#f0f8ff); border: 0.2rem solid #a3c1ff; padding: 0.5rem 0; margin: 10px 0;">
<div class="alert-box-header" style="font-size:1rem;text-align:center;">
<div class="alert-box-header" style="font-size:1rem;text-align:center;">
<span style="margin-right:8px;">🔔</span> ''' Notice'''
<span style="margin-right:8px;">🔔</span> ''' Notice'''
</div>
</div>
<div class="alert-box-body" style="background-color: #f6f6f6;padding:1rem 1rem">
<div class="alert-box-body" style="background-color: background-color: var(--background-color-interactive-subtle, #f6f6f6);padding:1rem 1rem">
{{{message}}}
{{{message}}}
</div>
</div>

Revision as of 16:17, 7 February 2025

🔔 Notice

{{{message}}}


Usage

Use this template to display important alert messages to readers.

{{Alert|Your alert message here}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
messagemessage

Your notice message

Stringrequired