Template:Captioned: Difference between revisions
(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; | ||
Revision as of 13:35, 22 August 2013
[[Image:{{{1}}}|{{{2}}}]]
{{{4}}}
| The above documentation is transcluded from Template:Captioned/doc. (editEditors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |