Template:Captioned: Difference between revisions

add parameter to border
(move margin: 5px 5px 5px 5px; to #default)
(add parameter to border)
Line 1: Line 1:
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100; {{#switch: {{{3|}}} | center | centre = margin: 0 auto; |#default = margin: 5px 5px 5px 5px;}}
<div class="thumb {{#switch: {{{3|}}} | left = tleft | center|centre = tnone | right|#default = tright}}" style="position: relative; z-index: 100; {{#switch: {{{3|}}} | center | centre = margin: 0 auto; |#default = margin: 5px 5px 5px 5px;}}
border: 1px solid #ccc;
{{{border|border: 1px solid #ccc;}}}
width: {{{2}}};
width: {{{2}}};
padding: 5px;
padding: 5px;
90,866

edits