Difference between revisions of "Template:ImageCrop"

From StarMade Wiki
(Created page with "<includeonly><!-- take from "Annotated image 4 template" --> <div class="thumb {{#switch:{{{align}}} |left= tleft" style=" |right|#default= tright" style=" |none= tnone" style...")
 
m
 
Line 10: Line 10:
 
}}
 
}}
 
<!--Start image wrapper-->
 
<!--Start image wrapper-->
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; border:{{#if:{{{frameless|}}}|0px|solid #ccc 1px}}; background-color:{{{image-bg-color|white}}};overflow:auto;">
+
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; border:{{#if:{{{frameless|}}}|0px|solid #ccc 1px}}; background-color:{{{image-bg-color|transparent}}};overflow:auto;">
 
<!--Start annotated image-->
 
<!--Start annotated image-->
 
<div class="noresize" style="overflow:display; 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 class="noresize" style="overflow:display; 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}}}}}}}}]]

Latest revision as of 01:03, 12 May 2018