Jump to content

Template:Notice: Difference between revisions

From Consumer_Action_Taskforce
Reverting, switches are hard.
m Protected "Template:Notice" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
(4 intermediate revisions by 2 users 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>
<noinclude>
== Usage ==
Use this template to display important notices to readers.
<pre>
{{Notice|Your notice text here}}
{{Notice|Your notice text here}}
</pre>
== Preview ==
This is how the notice will appear:
<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.
</div>
[[Category:Alert templates]]
</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.