Jump to content

Template:Alert: Difference between revisions

From Consumer Rights Wiki
fixed syntax
Change
 
Line 4: Line 4:
</div>
</div>
<div class="alert-box-body" style="background-color: background-color: var(--background-color-interactive-subtle, #f6f6f6);padding:1rem 1rem">
<div class="alert-box-body" style="background-color: background-color: var(--background-color-interactive-subtle, #f6f6f6);padding:1rem 1rem">
{{{message}}}
{{#if:{{{message|}}}|{{{message}}}}}{{#if:{{{1|}}}|{{{1}}}}}
</div>
</div>
</div>
</div>
Line 13: Line 13:


<pre>
<pre>
{{Alert|message = Your alert message here}}
{{Alert|Your alert message here}}
</pre>
</pre>


You can also do this.
[[Category:Alert templates]]
[[Category:Alert templates]]
<templatedata>
<templatedata>

Latest revision as of 13:58, 16 November 2025

🔔 Notice


Usage

Use this template to display important alert messages to readers.

{{Alert|Your alert message here}}

You can also do this.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
messagemessage

Your notice message

Stringrequired