Template:Warning: Difference between revisions

Template page
(Created page with "{| style="background-color: white; width: 85%; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); border-left: 10px solid {{{color|#1E90FF}}}; margin: 0 auto;...")
 
mNo edit summary
Line 1: Line 1:
{| style="background-color: white; width: 85%; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); border-left: 10px solid {{{color|#1E90FF}}}; margin: 0 auto;" class="{{{class|}}}"
{| style="background-color: white; width: 85%; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); border-left: 10px solid {{{color|#FF7F00}}}; margin: 0 auto;" class="{{{class|}}}"
| [[File:{{{image|Ambox warning.png}}}|link=|40x40px]]
| [[File:{{{image|Ambox warning.png}}}|link=|40x40px]]
|style="padding:0 0.5em"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{warning|Text of the warning}}</nowiki></code> in the page.<br>It is possible to customize the icon image, like so: <code><nowiki>{{warning|Text of the warning|image=Another_icon.png}}</nowiki></code>.}}}
|style="padding:0 0.5em"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{warning|Text of the warning}}</nowiki></code> in the page.<br>It is possible to customize the icon image, like so: <code><nowiki>{{warning|Text of the warning|image=Another_icon.png}}</nowiki></code>.}}}

Revision as of 17:47, 15 September 2014

Ambox warning.png This is a notification template. To use it in any page, place {{warning|Text of the warning}} in the page.
It is possible to customize the icon image, like so: {{warning|Text of the warning|image=Another_icon.png}}.