Template:MessageBox: Difference between revisions
no edit summary
OtherXAdmin (talk | contribs) No edit summary |
OtherXAdmin (talk | contribs) No edit summary |
||
Line 56: | Line 56: | ||
<includeonly><table class="messagebox {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} role="presentation"> | <includeonly><table class="messagebox {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}} role="presentation"> | ||
<td class="messagebox-image" style="width: {{{imgwidth|50px}}};">{{#if:{{{img|}}}|{{{img}}}|[[File: | <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><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>}} | <td class="messagebox-image messagebox-imageright" style="width: {{{imgrightwidth|50px}}};">{{{imgright}}}</td>}} | ||
Line 67: | Line 67: | ||
<tr> | <tr> | ||
<td class="messagebox-image" style="width: {{{imgwidth|50px}}};"> | <td class="messagebox-image" style="width: {{{imgwidth|50px}}};"> | ||
{{#if:{{{img|}}}|{{{img}}}|[[File: | {{#if:{{{img|}}}|{{{img}}}|[[File:Blue chathead.png|60x60px|center|link=]]}} | ||
</td> | </td> | ||
<td> | <td> |