Template:WarningBox: Difference between revisions

From Rotborough Truth Archive
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 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-family: inherit;
</tr>
  font-size: inherit;
</table><includeonly>[[Category:Pages with warnings]]</includeonly>
  line-height: 1.4;
">
  <div style="
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px;
    height: 24px;
    background-image: url('/wiki/images/thumb/{{{icon|Warning.png}}}/24px-{{{icon|Warning.png}}}');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  "></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