Difference between revisions of "Template:Ambox/core"

From Self-sufficiency
Jump to: navigation, search
(Adding back the proper styles for the empty <td> (the {{td}} is not equivalent). Adding back the 52px DIV for the right image. And some changes in comments and code indentation.)
(Always use the "#default=" notation, or you get into trouble. See talk page.)
Line 37: Line 37:
 
   }}{{#switch:{{{small|}}}
 
   }}{{#switch:{{{small|}}}
 
   | left = <!-- Don't use the /DIV -->
 
   | left = <!-- Don't use the /DIV -->
   | </div>  
+
   | #default = </div>  
 
   }}</td>
 
   }}</td>
 
}}
 
}}
Line 48: Line 48:
 
     | #default = <div style="width: 52px;">  
 
     | #default = <div style="width: 52px;">  
 
     }} {{{imageright}}} {{#switch:{{{small|}}}
 
     }} {{{imageright}}} {{#switch:{{{small|}}}
      | left = <!-- Don't use the /DIV -->
+
    | left = <!-- Don't use the /DIV -->
      | </div>  
+
    | #default = </div>  
 
     }}</td>
 
     }}</td>
 
   }}
 
   }}

Revision as of 05:43, 11 March 2009