Jump to content

Template:Ambox/core: Difference between revisions

From IdeaWazaWiki
wikademia>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.
wikademia>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

[create] Template documentation