Template:WarningBox: Difference between revisions

From Rotborough Truth Archive
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mw-message-box" 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}}}15;
<td class="mbox-text">
  padding: 15px;
{{{text|Message box content}}}
  border-radius: 0;
</td>
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Lato, Helvetica, Arial, sans-serif;
</tr>
  font-size: 14px;
</table><includeonly>[[Category:Pages with warnings]]</includeonly>
  line-height: 1.6;
  color: #222;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
">
  <div style="
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
  ">⚠</div>
  <div style="flex: 1; margin: 0; padding: 0;">
    {{{text|Message box content}}}
  </div>
</div><includeonly>[[Category:Pages with warnings]]</includeonly>

Latest revision as of 00:23, 27 June 2025

File:Warning.png

Message box content