Difference between revisions of "Template:notice2"
m |
m |
||
| Line 1: | Line 1: | ||
{| style="background-color: #ffe9e5; border: 1px solid #aaa; box-shadow: 2px 2px 2px hex(0, 0, 0, 0.2); border-left: 10px solid #bf3c2c; margin: 0 auto;" class="{{{class|notice_tpl}}}" | {| style="background-color: #ffe9e5; border: 1px solid #aaa; box-shadow: 2px 2px 2px hex(0, 0, 0, 0.2); border-left: 10px solid #bf3c2c; margin: 0 auto;" class="{{{class|notice_tpl}}}" | ||
| − | |style="padding:0 0.5em"|[[File:{{{image|warning!!.png}}}|link=|40x40px]] | + | |style="padding:0 0.5em; line-height: 330%;"|[[File:{{{image|warning!!.png}}}|link=|40x40px]] |
| − | |style="padding:0 0. | + | |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.<br>It is possible to customize the icon image, like so: <code><nowiki>{{notice|Text of the notice|image=Another_icon.png}}</nowiki></code>.}}} |
|}<noinclude> | |}<noinclude> | ||
Revision as of 10:16, 16 February 2025
This is a notification template. To use it in any page, place {{notice|Text of the notice}} in the page.It is possible to customize the icon image, like so: {{notice|Text of the notice|image=Another_icon.png}}.
|
To use a more standard notice, use {{notice}} instead:
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.
|
