Template:MessageBox: Difference between revisions

From Knowledge Fight Wiki
Try and make MessageBox interact with infoboxes better.
Clean up how icons work in messageboxes.
 
Line 1: Line 1:
<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;">
<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/>
'''{{{header|Notice}}}'''<br/>
{{{text|No message provided.}}}
{{{text|No message provided.}}}
</div>
</div>
</div>

Latest revision as of 21:18, 1 March 2025

Notice
No message provided.