Difference between revisions of "Template:notice2"
(added classes to stay even when class attribute is supplied. renamed class "notice2_tpl" to "notice2".) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="display: flex; justify-content: center;"> | <div style="display: flex; justify-content: center;"> | ||
| β | {| style="background-color: #ffe9e5; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0); border-left: 10px solid #bf3c2c; margin: 0 auto; width: auto; max-width: 60%; display: inline-block;" class="{{{class| | + | {| style="background-color: #ffe9e5; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0); border-left: 10px solid #bf3c2c; margin: 0 auto; width: auto; max-width: 60%; display: inline-block;" class="{{{class|}}} notice_tpl notice2" |
|style="padding:0 0.5em; line-height: 330%; text-align: left;"|[[File:warning!!.png|link=|40x40px]] | |style="padding:0 0.5em; line-height: 330%; text-align: left;"|[[File:warning!!.png|link=|40x40px]] | ||
|style="padding:0 0.75em; text-align: left;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice2|Text of the notice}}</nowiki></code> in the page. To use a more standard notice, use {{tl|notice}} instead.}}} | |style="padding:0 0.75em; text-align: left;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice2|Text of the notice}}</nowiki></code> in the page. To use a more standard notice, use {{tl|notice}} instead.}}} | ||
Latest revision as of 13:14, 23 February 2026
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.
|
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.
|
