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>"
 
Clean up how icons work in messageboxes.
 
(2 intermediate revisions by the same user not shown)
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; overflow: hidden; display: flow-root;">
  {{#if:{{{image|}}}|
<div style="float:left;margin:0px; margin-right:10px;margin-top:-10px;padding:0px;height:64px">
    <div style="margin-right: 0.75em;">
[[File:{{{image|Information.png}}}|{{{imagewidth|64px}}}|link={{{imagelink|}}}]]
      [[File:{{{image}}}|{{{imagewidth|40px}}}|link={{{imagelink|}}}]]
</div>
    </div>
<div>
  }}
'''{{{header|Notice}}}'''<br/>
  <div>
{{{text|No message provided.}}}
    <strong>{{{header|Notice}}}</strong><br>
</div>
    {{{text|No message provided.}}}
  </div>
</div>
</div>

Latest revision as of 21:18, 1 March 2025

Notice
No message provided.