Template:WarningBox: Difference between revisions

From Rotborough Truth Archive
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style="
<div class="mw-message-box" style="
   display: flex;
   display: flex;
   align-items: flex-start;
   align-items: flex-start;
   margin: 10px 0;
   margin: 10px 0;
   border-left: 6px solid {{{color|#999}}};
   border-left: 6px solid {{{color|#999}}};
   background-color: {{{color|#999}}}22;
   background-color: {{{color|#999}}}15;
   padding: 12px;
   padding: 15px;
   border-radius: 0 4px 4px 0;
   border-radius: 0;
   font-family: inherit;
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Lato, Helvetica, Arial, sans-serif;
   font-size: inherit;
   font-size: 14px;
   line-height: 1.4;
   line-height: 1.6;
  color: #222;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
">
">
   <div style="
   <div style="
     margin-right: 12px;
     margin-right: 15px;
     flex-shrink: 0;
     flex-shrink: 0;
     margin-top: 2px;
     margin-top: 1px;
     width: 24px;
     width: 20px;
     height: 24px;
     height: 20px;
     background-image: url('/wiki/images/thumb/{{{icon|Warning.png}}}/24px-{{{icon|Warning.png}}}');
    border: 1px solid #ccc;
     background-size: contain;
     background-color: #f8f9fa;
     background-repeat: no-repeat;
    display: flex;
     background-position: center;
    align-items: center;
   "></div>
     justify-content: center;
   <div style="flex: 1;">
     font-size: 12px;
     {{{text|Warning message content}}}
     color: #666;
   "></div>
   <div style="flex: 1; margin: 0; padding: 0;">
     {{{text|Message box content}}}
   </div>
   </div>
</div><includeonly>[[Category:Pages with warnings]]</includeonly>
</div><includeonly>[[Category:Pages with warnings]]</includeonly>

Revision as of 23:48, 26 June 2025

   Message box content