Changes

overhaul to make this more like the other mbox templates
Line 1: Line 1: −
<div style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|}}}">
+
<table style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|}}}">
<div class="ambox-image">
+
    <tr>
 +
<td>
 +
{{#if: {{{image|}}} | {{{image}}} |
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
|construction = [[File:AMBox_construction.png|40px|link=]]
 
|construction = [[File:AMBox_construction.png|40px|link=]]
Line 12: Line 14:  
|#default = [[File:Wiki.png|40px|link=]]
 
|#default = [[File:Wiki.png|40px|link=]]
 
}}
 
}}
</div>
  −
<div class="ambox-content">
  −
<span class="ambox-title">
  −
{{#if: {{{title|}}}|{{{title|}}}|
  −
{{#switch:{{{type|}}}
  −
|construction = This article is under construction
  −
|translation = This article needs translation
  −
|delete = This article is currently marked for deletion
  −
|cleanup = This article needs cleanup
  −
|notice = Notice
  −
|move = This article is suggested to be moved or merged
  −
|protection = This article's protection level should be discussed
  −
|renovate = This article is being renovated in a sandbox page
  −
|#default = Notice
  −
}}
   
}}
 
}}
</span>
+
</td>
<span class="ambox-description">{{{message|}}}</span>
+
<td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}<br>[[:Template:Ambox|Learn more about Amboxes]]</td>
<div class="ambox-promoter">
+
{{#if:{{{imageright|}}}
{{#if: {{{user_act|}}}|{{{user_act|}}}|
+
| <td class="mbox-imageright"> {{{imageright}}} </td>
{{#switch:{{{type|}}}
+
}}
|construction = Adopted by:
+
    </tr>
|translation = Requested by:
+
</table>
|delete = Marked by:
  −
|cleanup = Requested by:
  −
|notice = Posted by:
  −
|move = Marked by:
  −
|protection = Posted by:
  −
|renovate = Adopted by:
  −
|#default = By:
  −
}}
  −
}} {{{users|}}}</div>
  −
<div class="ambox-learn">[[Template:Ambox|Learn more about Amboxes]]</div>
  −
</div>
  −
<div class="ambox-clear"></div>
  −
</div>
      
<noinclude>
 
<noinclude>
5,421

edits