Template:Notice: Difference between revisions
Appearance
Expanding on notice capabilities |
m Protected "Template:Notice" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="notice" style="background-color: var(--background-color-interactive-subtle, #f8f9fa); border: 1px solid #eaecf0; padding: 10px; margin: 10px 0;"> | |||
<div class="notice" style="background-color: | |||
{{{1}}} | {{{1}}} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Use this template to display important notices to readers. | |||
<pre> | <pre> | ||
{{Notice|Your notice text here}} | {{Notice|Your notice text here}} | ||
</pre> | </pre> | ||
== Preview == | |||
This is how the notice will appear: | |||
[[Category: | <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> | </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.