Difference between revisions of "Template:WarningBox"
Jump to navigation
Jump to search
(New Box subtemplate) |
m (Use more subtle colours (as suggested my [User:Msi] on IRC) |
||
Line 17: | Line 17: | ||
{{WarningBox | text = Pay attention!}} |
{{WarningBox | text = Pay attention!}} |
||
− | </noinclude><includeonly>{{Box|caption={{{caption|Warning!}}}|text={{{text|}}}|icon={{{icon|Messagebox_warning.png}}}|background= |
+ | </noinclude><includeonly>{{Box|caption={{{caption|Warning!}}}|text={{{text|}}}|icon={{{icon|Messagebox_warning.png}}}|background=#FFF2AB|highlight=#FFBD87}}</includeonly> |
Latest revision as of 14:20, 22 January 2022
Template:WarningBox is a template based on Template:Box. Use it for drawing the viewer's attention, for displaying warnings and important notes.
Arguments:
caption
is the box caption (default: Warning!);text
is the box content;icon
is the box icon (default: File:Messagebox_warning.png);
Example
Warning!
Pay attention!