Template:MessageBox: Difference between revisions

From Knowledge Fight Wiki
Created page with "<div id="{{{id|notice}}}" style="border: 1px solid #aaa; background-color: #f9f9f9; padding: 0.75em; margin-bottom: 1em; display: flex; align-items: center;"> {{#if:{{{image|}}}| <div style="margin-right: 0.75em;"> [[File:{{{image}}}|{{{imagewidth|40px}}}|link={{{imagelink|}}}]] </div> }} <div> <strong>{{{header|Notice}}}</strong><br> {{{text|No message provided.}}} </div> </div>"
 
Format this a little cleaner.
Line 1: Line 1:
<div id="{{{id|notice}}}" style="border: 1px solid #aaa; background-color: #f9f9f9; padding: 0.75em; margin-bottom: 1em; display: flex; align-items: center;">
<div id="{{{id|notice}}}" style="border: 1px solid #f28500; background-color: #fff4e5; padding: 10px 15px; margin: 10px 0; border-radius: 8px;">
   {{#if:{{{image|}}}|
   {{#if:{{{image|}}}|
     <div style="margin-right: 0.75em;">
     <div style="margin-right: 0.75em;">
Line 5: Line 5:
     </div>
     </div>
   }}
   }}
  <div>
'''{{{header|Notice}}}'''<br/>
    <strong>{{{header|Notice}}}</strong><br>
{{{text|No message provided.}}}
    {{{text|No message provided.}}}
  </div>
</div>
</div>

Revision as of 17:57, 28 February 2025

Notice
No message provided.