Difference between revisions of "Template:Ambox"

From CSLabsWiki
m (Color tweaks)
(Added image support)
Line 1: Line 1:
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
 
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
| delete = ambox-delete
 
 
| serious = ambox-serious
 
| serious = ambox-serious
| rewrite = ambox-rewrite
 
 
| content = ambox-content
 
| content = ambox-content
| edit = ambox-edit
 
 
| style = ambox-style
 
| style = ambox-style
 
| merge = ambox-merge
 
| merge = ambox-merge
Line 12: Line 9:
 
}}">
 
}}">
 
<tr>
 
<tr>
  +
<td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
  +
| serious = [[Image:Stop hand nuvola.svg|40px]]
  +
| content = [[Image:Emblem-important.svg|40px]]
  +
| style = [[Image:Broom icon.svg|40px]]
  +
| merge = [[Image:Merge-split-transwiki default.svg]]
  +
| notice = [[Image:Info non-talk.png|40px]]
  +
| growth = [[Image:N write green black.svg|40px]]
  +
| blank = <!-- empty image cell -->
  +
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
  +
}}</td>
 
<td>{{{text}}}</td>
 
<td>{{{text}}}</td>
 
{{#if:{{{imageright|}}}|
 
{{#if:{{{imageright|}}}|

Revision as of 23:44, 5 October 2007