Difference between revisions of "Template:Ambox/core"

From blackwiki
Jump to navigation Jump to search
blackwiki>Davidgothberg
(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.)
blackwiki>Davidgothberg
(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 03:43, 11 March 2009

Template documentation[view] [edit] [history] [purge]

This is the former sub-template of {{Ambox}}.