Template:Alert: Difference between revisions
Appearance
A blue alert to go along with Notice |
m modified to match deletionalert |
||
Line 1: | Line 1: | ||
<div class="alert" style="background-color: #f0f8ff; border: | <div class="notification-alert" style="displey:flex;width:fit-content;min-width:300px;background-color: #f0f8ff; border: 0.2rem solid #a3c1ff; padding: 0.5rem 0; margin: 10px 0;"> | ||
{{{ | <div class="alert-box-header" style="font-size:1rem;text-align:center;"> | ||
<span style="margin-right:8px;">🔔</span> ''' Notice''' | |||
</div> | |||
<div class="alert-box-body" style="background-color: #f6f6f6;padding:1rem 1rem"> | |||
{{{message}}} | |||
</div> | |||
</div> | </div> | ||
Line 10: | Line 15: | ||
{{Alert|Your alert message here}} | {{Alert|Your alert message here}} | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Alert Templates]] | [[Category:Alert Templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"message": { | |||
"description": "Your notice message", | |||
"type": "string", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Revision as of 14:21, 18 January 2025
🔔 Notice
{{{message}}}
Usage
Use this template to display important alert messages to readers.
{{Alert|Your alert message here}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
message | message | Your notice message | String | required |