Jump to content

Template:Notice: Difference between revisions

From Consumer_Action_Taskforce
Move to alerts
m darkmode fix
Line 1: Line 1:
<div class="notice" style="background-color: #f8f9fa; border: 1px solid #eaecf0; padding: 10px; margin: 10px 0;">
<div class="notice" style="background-color: var(--background-color-interactive-subtle, #f8f9fa); border: 1px solid #eaecf0; padding: 10px; margin: 10px 0;">
{{{1}}}
{{{1}}}
</div>
</div>
Line 14: Line 14:
This is how the notice will appear:
This is how the notice will appear:


<div class="notice" style="background-color: #f8f9fa; border: 1px solid #eaecf0; padding: 10px; margin: 10px 0;">
<div class="notice" style="background-color: var(--background-color-interactive-subtle, #f8f9fa); border: 1px solid #eaecf0; padding: 10px; margin: 10px 0;">
This is an example notice message.
This is an example notice message.
</div>
</div>
[[Category:Alert templates]]
[[Category:Alert templates]]
</noinclude>
</noinclude>

Revision as of 22:46, 31 January 2025

{{{1}}}


Usage

Use this template to display important notices to readers.

{{Notice|Your notice text here}}

Preview

This is how the notice will appear:

This is an example notice message.