Difference between revisions of "Template:Ambox/sandbox"
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 | + | <table class="metadata plainlinks cmbox |
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| − | | speedy = | + | | speedy = cmbox-speedy <!-- Can be used from 19 May 2008 --> |
| delete <!-- delete = serious --> | | delete <!-- delete = serious --> | ||
| − | | serious = | + | | serious = cmbox-delete |
| − | | content = | + | | content = cmbox-content |
| − | | style = | + | | style = cmbox-style |
| move <!-- move = merge --> | | move <!-- move = merge --> | ||
| − | | merge = | + | | merge = cmbox-move <!--ambox-move can be used 20 May 2008--> |
| − | | protection = | + | | protection = cmbox-protection |
| − | | notice = | + | | notice = cmbox-notice |
| − | | #default = | + | | #default = cmbox-notice |
}}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
| − | <td class=" | + | <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=" | + | <td class="cmbox-text" style="{{{textstyle|}}}">{{{text}}}</td> |
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| − | | <td class=" | + | | <td class="cmbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td> |
}} | }} | ||
</tr> | </tr> | ||
</table> | </table> | ||