Difference between revisions of "Template:WarningBox"

From Trinity Desktop Project Wiki
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=gold|highlight=goldenrod}}</includeonly>
+
</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:


Example

{{WarningBox | text = Pay attention!}}
Messagebox warning.png
Warning!
Pay attention!