Difference between revisions of "Template:Ambox/core"

From Self-sufficiency
Jump to: navigation, search
(One test example got bad rightimage padding, reverting to previous version (03:43) for testing.)
(The old ambox has the same padding problem with an inserted {{shortcut}}, so it is probably a problem with shortcut's "float". Reverting to version (05:05) with simplified imageright code.)
Line 45: Line 45:
 
   | <!-- No image. -->
 
   | <!-- No image. -->
 
   | <td class="mbox-imageright">{{#switch:{{{small|}}}
 
   | <td class="mbox-imageright">{{#switch:{{{small|}}}
     | left = <!-- Don't use the DIV -->
+
     | left = {{{imageright}}}
     | #default = <div style="width: 52px;">  
+
     | #default = <div style="width: 52px;"> {{{imageright}}} </div>
    }} {{{imageright}}} {{#switch:{{{small|}}}
+
    | left = <!-- Don't use the /DIV -->
+
    | #default = </div>  
+
 
     }}</td>
 
     }}</td>
 
   }}
 
   }}

Revision as of 07:23, 11 March 2009