Difference between revisions of "Template:Annotated image 4/sandbox"
Jump to navigation
Jump to search
blackwiki>Great Brightstar m (Minor adjust) |
blackwiki>Seppi333 (fixed problems with testcases 2 and 3 in Special:permalink/822615570 (testcases2 subpage)) |
||
| Line 6: | Line 6: | ||
}} | }} | ||
<!--Start image wrapper--> | <!--Start image wrapper--> | ||
| − | <div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; border:solid #ccc 1px; {{#if:{{{frameless|}}}|border:0px;}} background-color:{{{image-bg-color|white}}};"> | + | <div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; border:solid #ccc 1px; {{#if:{{{frameless|}}}|border:0px;}} background-color:{{{image-bg-color|white}}};overflow:hidden;"> |
<!--Start annotated image--> | <!--Start annotated image--> | ||
<div style="overflow:hidden; height:{{{height}}}px; left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]] | <div style="overflow:hidden; height:{{{height}}}px; left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]] | ||