Difference between revisions of "Template:Warning box"

From Maths
Jump to: navigation, search
m (Alec moved page Template:Caution box to Template:Warning box without leaving a redirect: New colour schemes)
(Expands if body)
Line 1: Line 1:
<div style="background-color:#FFCA61;border:0.15em dashed #ff0000;margin:0.1em;padding:0.2em;">
+
<div {{#if:{{{body|{{{2|}}}}}}|class="toccolours mw-collapsible mw-collapsed"|}} style="background-color:#FFCA61;border:0.15em dashed #ff0000;margin:0.1em;padding:0.2em;">
'''Caution: ''' {{{title|{{{1|}}}}}}{{#if:{{{body|{{{2|}}}}}}|<hr/>{{{body|{{{2|}}}}}}|}}
+
'''Caution: ''' {{{title|{{{1|}}}}}}{{#if:{{{body|{{{2|}}}}}}|<div class="mw-collapsible-content"><hr/>{{{body|{{{2|}}}}}}</div>|}}
 
</div>
 
</div>

Revision as of 21:56, 8 October 2016

Caution: