Template:Notice: Difference between revisions

m 1 revision imported
m Protected "Template:Notice" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
(9 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}}
</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>