Template:MessageBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 19: Line 19:
<noinclude>{{/doc}}</noinclude>
<noinclude>{{/doc}}</noinclude>
-->
-->
<includeonly>
<table class="messagebox {{{class|}}}" 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="font-weight: bold; {{{titlestyle|}}}" >{{{1|}}}</span>
      <div style="font-size:0.85em; line-height:1.4em; {{{textstyle|}}}" class="messagebox-text">{{{2|}}}</div>
    </td>
  </tr>
</table>
</includeonly>
<noinclude>{{/doc}}</noinclude>
<includeonly><table class="messagebox {{{class|}}}" 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="font-weight: bold; {{{titlestyle|}}}" >{{{1|}}}</span><div style="font-size:0.85em; line-height:1.4em; {{{textstyle|}}}" class="messagebox-text">{{{2|}}}</div></td></tr></table></includeonly><noinclude>{{/doc}}</noinclude>
<includeonly><table class="messagebox {{{class|}}}" 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="font-weight: bold; {{{titlestyle|}}}" >{{{1|}}}</span><div style="font-size:0.85em; line-height:1.4em; {{{textstyle|}}}" class="messagebox-text">{{{2|}}}</div></td></tr></table></includeonly><noinclude>{{/doc}}</noinclude>
<includeonly><table class="messagebox {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} role="presentation">
<td class="messagebox-image" style="width: {{{imgwidth|50px}}};">{{#if:{{{img|}}}|{{{img}}}|[[File:Blue chathead.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>}}
</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:Blue chathead.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>

Navigation menu