4,780
editsAd placeholder
Template:Image frame: Difference between revisions
Jump to navigation
Jump to search
Fixed incorrectly setting margin when border-width = 0
(Added parameter for additional style options) |
(Fixed incorrectly setting margin when border-width = 0) |
||
Line 30: | Line 30: | ||
| <!--Case when the border width is 0 so omit the outer div --> | | <!--Case when the border width is 0 so omit the outer div --> | ||
<div {{#if:{{{class|}}}|class="{{{class|}}}"}} style=" | <div {{#if:{{{class|}}}|class="{{{class|}}}"}} style=" | ||
width: {{#lvar:width}}px; | width: {{#lvar:width}}px; | ||
height: {{#lvar:height}}px; | height: {{#lvar:height}}px; |