Jump to content

Template:Notice: Difference between revisions

From Consumer_Action_Taskforce
mNo edit summary
m Protected "Template:Notice" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
(3 intermediate revisions by the same user not shown)
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:Templates]]
[[Category:Notice Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:14, 1 March 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.