Anonymous user
Template:Image frame: Difference between revisions
eliminating white space in caption
(add class="thumbimage" to get the border) |
(eliminating white space in caption) |
||
Line 1:
<includeonly>{{#ifeq: {{{align|right}}} | center | <div class="center"> |
}}<div class="thumb {{#switch: {{{align|right}}} | right=tright | left=tleft | center=tnone }}"><div class="thumbinner" style="width:{{#expr:{{{width}}}+2}}px;"><div class="thumbimage" style="width:{{{width}}}px;">{{{content}}}</div>
<div class="thumbcaption">{{#if: {{{link|}}} | <div class="magnify" style="float:right">[[{{{link}}}|info]]</div> |}}{{{caption|}}}</div></div></div>{{#ifeq: {{{align|right}}} | center | </div> | }}</includeonly><noinclude>▼
▲{{#if: {{{link|}}} | <div class="magnify" style="float:right">[[{{{link}}}|info]]</div> |}}
== Description ==
This template creates a frame like those surrounding images. This template can be used to put two or more images into a frame together, or as a wrapper for more complicated templates like {{tl|superimpose}}.
|