Template:ImageWithCaptionRight: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Angel Herraez (talk | contribs)
a template to float an image to the right with a caption below, all inside a frame
 
Angel Herraez (talk | contribs)
a template to float an image to the right with a caption below, all inside a frame
Line 1: Line 1:
<div style="text-align:center; border:1px solid gray; display:table; float:right; margin-left:1em; padding:2px 8px; width:calc({{{2}}}px + 2px);">
<div style="text-align:center; border:1px solid gray; display:table; float:right; margin-left:1em; padding:2px 8px; width:calc({{{2}}}px + 2px); background:white;">
[[Image:{{{1}}}|{{{2}}}px]]
[[Image:{{{1}}}|{{{2}}}px]]


{{{3}}}
{{{3}}}
</div>
</div>