Difference between revisions of "Template:notice"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m (Undo revision 370685 by FaviFake (talk))
Line 1: Line 1:
 
<div style="text-align: center;">
 
<div style="text-align: center;">
βˆ’
{| style="background-color: #f8f9fa; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0); border-left: 10px solid #6485d1; margin: 0 auto; width: auto; max-width: min(80vw, 1000px); display: inline-block;" class="{{{class|notice_tpl}}}"  
+
{| style="background-color: #f8f9fa; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0); border-left: 10px solid #6485d1; margin: 0 auto; width: auto; max-width: 80%; display: inline-block;" class="{{{class|notice_tpl}}}"  
 
|style="padding:0 0.5em; line-height: 330%;"|[[File:{{{image|Ambox notice.png}}}|link=|40x40px]]
 
|style="padding:0 0.5em; line-height: 330%;"|[[File:{{{image|Ambox notice.png}}}|link=|40x40px]]
 
|style="padding:0 0.75em;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page. To use a more eye-catching notice, use {{tl|notice2}} instead.}}}
 
|style="padding:0 0.75em;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page. To use a more eye-catching notice, use {{tl|notice2}} instead.}}}

Revision as of 16:06, 28 March 2025

Ambox notice.png This is a notification template. To use it in any page, place {{notice|Text of the notice}} in the page. To use a more eye-catching notice, use {{notice2}} instead.


It is possible to customize the icon image, like so: {{notice|Text of the notice|image=Another_icon.png}}.

To use a more eye-catching notice, use {{notice2}} instead:

warning!!.png This is a notification template. To use it in any page, place {{notice2|Text of the notice}} in the page. To use a more standard notice, use {{notice}} instead.