Template:WarningBox: Difference between revisions

From Rotborough Truth Archive
Jump to navigation Jump to search
Created page with "<div style=" display: flex; align-items: flex-start; margin: 10px 0; border-left: 6px solid {{{color|#999}}}; background-color: {{{color|#999}}}22; padding: 12px; border-radius: 0 4px 4px 0; font-size: 14px; line-height: 1.4; "> <div style=" margin-right: 12px; flex-shrink: 0; margin-top: 2px; "> [[File:{{{icon|Warning.png}}}|24px|link=]] </div> <div style="flex: 1;"> {{{text|Warning message content}}} </div> </div><include..."
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="
<table class="mbox mbox-notice" style="border-left-color: {{{color|#36c}}}; background-color: {{{color|#36c}}}15;">
  display: flex;
<tr>
  align-items: flex-start;
<td class="mbox-image">
  margin: 10px 0;
[[File:{{{icon|Warning.png}}}|40px|link=]]
  border-left: 6px solid {{{color|#999}}};
</td>
  background-color: {{{color|#999}}}22;
<td class="mbox-text">
  padding: 12px;
{{{text|Message box content}}}
  border-radius: 0 4px 4px 0;
</td>
  font-size: 14px;
</tr>
  line-height: 1.4;
</table><includeonly>[[Category:Pages with warnings]]</includeonly>
">
  <div style="
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
  ">
    [[File:{{{icon|Warning.png}}}|24px|link=]]
  </div>
  <div style="flex: 1;">
    {{{text|Warning message content}}}
  </div>
</div><includeonly>[[Category:Pages with warnings]]</includeonly>

Latest revision as of 00:23, 27 June 2025

File:Warning.png

Message box content