Difference between revisions of "Template:notice"
(limit img size) |
(Added link to image) |
||
(29 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {| style="border:1px solid #aaa; border-left: 10px solid #1E90FF; margin:0 auto;" | + | {| style="background-color: white; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); border-left: 10px solid #1E90FF; margin: 0 auto;" class="{{{class|notice_tpl}}}" |
| [[File:{{{image|Ambox notice.png}}}|link=|40x40px]] | | [[File:{{{image|Ambox notice.png}}}|link=|40x40px]] | ||
|style="padding:0 1em"| {{{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>.}}} | |style="padding:0 1em"| {{{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> |
+ | [[File:warning!!.png|40x40px]] | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |