Difference between revisions of "Template:Ambox/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Davidgothberg
(Last one worked well. Back to current deployed ambox code.)
blackwiki>Davidgothberg
(Testing "mmbox" CSS based namespace detection.)
Line 1: Line 1:
<table class="metadata plainlinks ambox
+
<table class="metadata plainlinks mmbox
 
{{#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 9: Line 9:
 
   | merge      = ambox-merge  <!--ambox-move can be used 20 May 2008-->
 
   | merge      = ambox-merge  <!--ambox-move can be used 20 May 2008-->
 
   | protection = ambox-protection
 
   | protection = ambox-protection
   | notice    = ambox-notice
+
   | notice    = mmbox-notice
   | #default  = ambox-notice
+
   | #default  = mmbox-notice
 
}}" style="{{{style|}}}">
 
}}" style="{{{style|}}}">
 
<tr>
 
<tr>
<td class="ambox-image">
+
<td class="mmbox-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="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
+
<td class="mmbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
 
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
 
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>

Revision as of 02:31, 12 May 2008