Difference between revisions of "Template:Ambox/sandbox"

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

Revision as of 01:23, 12 May 2008