Template:MessageBox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<!--
<includeonly>
<includeonly>
<table class="messagebox {{{class|}}}" style="{{{style|}}}" role="presentation">
<table class="messagebox {{{class|}}}" style="{{{style|}}}" role="presentation">
Line 11: Line 12:
     </td>
     </td>
     <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">
     <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">
      {{{imgright|}}}
    </td>
  </tr>
</table>
</includeonly>
<noinclude>{{/doc}}</noinclude>
-->
<includeonly>
<table class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|transparent}}}; border: {{{border|1px solid #aaa}}}; {{{style|}}}" role="presentation">
  <tr>
    <td class="messagebox-image" style="width: {{{imgwidth|50px}}}; padding: {{{imgpadding|5px}}};">
      {{{img|[[File:Blue chathead.png|60x60px|center|link=]]}}}
    </td>
    <td style="padding: {{{textpadding|10px}}};">
      <span class="messagebox-title" style="display: block; font-weight: bold; {{{titlestyle|}}}" >{{{1|}}}</span>
      <div style="font-size:0.85em; line-height:1.4em; {{{textstyle|}}}" class="messagebox-text">{{{2|}}}</div>
    </td>
    <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}}; padding: {{{imgrightpadding|5px}}};">
       {{{imgright|}}}
       {{{imgright|}}}
     </td>
     </td>