Difference between revisions of "Template:Ambox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>CapitalR
(update)
blackwiki>TheDJ
(testing with divs.)
Line 1: Line 1:
<table class="metadata plainlinks ambox ambox-sandbox  
+
<div class="ambox ambox-sandbox  
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
   | speedy    = ambox-speedy  <!-- Can be used from 19 May 2008 -->
 
   | speedy    = ambox-speedy  <!-- Can be used from 19 May 2008 -->
Line 11: Line 11:
 
   | notice    = ambox-notice
 
   | notice    = ambox-notice
 
   | #default  = ambox-notice
 
   | #default  = ambox-notice
}}" cellspacing="0" style="border-collapse:separate;{{{style|}}}">
+
}}" style="border-collapse:separate;{{{style|}}}">
<tr>
 
<td class="ambox-image">
 
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
 
   | <!-- No image cell; empty cell necessary for text cell to have 100% width -->
 
   | <!-- No image cell; empty cell necessary for text cell to have 100% width -->
   | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
+
   | <div class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
 
     | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]  
 
     | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]  
 
     | delete
 
     | delete
Line 29: Line 27:
 
     | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
 
     | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
 
   }}</div>
 
   }}</div>
}}</td>
+
}}
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
+
<div class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</div>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
+
   | <div class="ambox-imageright">{{{imageright}}}</div>
 
}}
 
}}
</tr>
+
</div>
</table>
 

Revision as of 21:24, 6 May 2008