Template:MessageBox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 60: Line 60:
<td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}}
<td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}}
</table></includeonly><noinclude>{{/doc}}</noinclude>
</table></includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>
<table class="messagebox {{{class|}}}" role="presentation"
      {{#if:{{{style|}}}|style="{{{style}}}"}}>
  <tr>
    <td class="messagebox-image" style="width: {{{imgwidth|50px}}};">
      {{#if:{{{img|}}}|{{{img}}}|[[File:Tutor guide book detail.png|60x60px|center|link=]]}}
    </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>}}
  </tr>
</table>
</includeonly>
<noinclude>{{/doc}}</noinclude>