Difference between revisions of "Template:Ambox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Davidgothberg
(Last one worked well. Testing the cmbox CSS classes.)
blackwiki>Davidgothberg
(Last one worked well. Back to current deployed ambox code.)
Line 1: Line 1:
<table class="metadata plainlinks cmbox
+
<table class="metadata plainlinks ambox
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
   | speedy    = cmbox-speedy  <!-- Can be used from 19 May 2008 -->
+
   | speedy    = ambox-speedy  <!-- Can be used from 19 May 2008 -->
 
   | delete                          <!-- delete = serious -->
 
   | delete                          <!-- delete = serious -->
   | serious    = cmbox-delete       
+
   | serious    = ambox-delete       
   | content    = cmbox-content
+
   | content    = ambox-content
   | style      = cmbox-style
+
   | style      = ambox-style
 
   | move                            <!-- move = merge -->
 
   | move                            <!-- move = merge -->
   | merge      = cmbox-move   <!--ambox-move can be used 20 May 2008-->
+
   | merge      = ambox-merge   <!--ambox-move can be used 20 May 2008-->
   | protection = cmbox-protection
+
   | protection = ambox-protection
   | notice    = cmbox-notice
+
   | notice    = ambox-notice
   | #default  = cmbox-notice
+
   | #default  = ambox-notice
 
}}" style="{{{style|}}}">
 
}}" style="{{{style|}}}">
 
<tr>
 
<tr>
<td class="cmbox-image">
+
<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 -->
Line 30: Line 30:
 
   }}</div>
 
   }}</div>
 
}}</td>
 
}}</td>
<td class="cmbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
+
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
   | <td class="cmbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
+
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
 
}}
 
}}
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 01:25, 12 May 2008