Template:MessageBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
     <td><span class="messagebox-title"><b>{{#if:{{{1|}}}|{{{1}}}|<!--this #if removes trailing/leading whitespace-->}}</b></span>{{#if:{{{2|}}}|<br style="clear: both;" /><div style="font-size:0.85em; line-height:1.4em;" class="messagebox-text">{{{2}}}</div>}}</td>
     <td><span class="messagebox-title"><b>{{#if:{{{1|}}}|{{{1}}}|<!--this #if removes trailing/leading whitespace-->}}</b></span>{{#if:{{{2|}}}|<br style="clear: both;" /><div style="font-size:0.85em; line-height:1.4em;" class="messagebox-text">{{{2}}}</div>}}</td>
     {{#if:{{{imgright|}}}|<td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}}
     {{#if:{{{imgright|}}}|<td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}}
  </tr>
</table>
</includeonly>
<noinclude>{{/doc}}</noinclude>
<includeonly>
<table class="messagebox {{{class|}}}" style="{{{style|}}}" role="presentation">
  <tr>
    <td class="messagebox-image" style="width: {{{imgwidth|50px}}};">
      {{{img|[[File:Blue chathead.png|60x60px|center|link=]]}}}
    </td>
    <td>
      <span class="messagebox-title"><b>{{{1|}}}</b></span>
      <br style="clear: both;" />
      <div style="font-size:0.85em; line-height:1.4em;" class="messagebox-text">{{{2|}}}</div>
    </td>
    <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">
      {{{imgright|}}}
    </td>
   </tr>
   </tr>
</table>
</table>
</includeonly>
</includeonly>
<noinclude>{{/doc}}</noinclude>
<noinclude>{{/doc}}</noinclude>

Navigation menu