Difference between revisions of "Template:Ambox/sandbox"
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 | + | <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 = | + | | notice = mmbox-notice |
| − | | #default = | + | | #default = mmbox-notice |
}}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
| − | <td class=" | + | <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=" | + | <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> | ||