Difference between revisions of "Template:Ambox/sandbox"
Jump to navigation
Jump to search
blackwiki>Davidgothberg (Last one has width problem for "image=none", weird. Adding missing ";".) |
blackwiki>Davidgothberg (Trying a 1px padding in the image cell for "image=none" to see if that solves the flow problem. Oddly enough identical code in {{Imbox/test1}} does not have the problem.) |
||
| Line 14: | Line 14: | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| − | | <!-- No image. Empty cell necessary for text cell to have 100% width --><td style="border: none; padding: | + | | <!-- No image. Empty cell necessary for text cell to have 100% width --><td style="border: none; padding: 1px;"></td> |
| − | | <td class="ambox-image"><div style="width:52px;"> | + | | <td class="ambox-image"><div style="width: 52px;"> |
{{#ifeq:{{{image|}}}|blank | {{#ifeq:{{{image|}}}|blank | ||
| | | | ||
| Line 21: | Line 21: | ||
| {{{image}}} | | {{{image}}} | ||
| {{#switch:{{{type|}}} | | {{#switch:{{{type|}}} | ||
| − | | speedy = [[Image:Ambox speedy deletion.png|40x40px]] | + | | speedy = [[Image:Ambox speedy deletion.png|40x40px]] |
| delete | | delete | ||
| − | | serious = [[Image:Ambox deletion.png|40x40px]] | + | | serious = [[Image:Ambox deletion.png|40x40px]] |
| content = [[Image:Ambox content.png|40x40px]] | | content = [[Image:Ambox content.png|40x40px]] | ||
| style = [[Image:Ambox style.png|40x40px]] | | style = [[Image:Ambox style.png|40x40px]] | ||