Difference between revisions of "Template:Annotated image infobox"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
({{Annotated image infobox}} is a derivative of Template:Annotated image 4 for use in infoboxes. Most parameters are the same, but padding and margins have been removed.)
 
m
 
Line 3: Line 3:
 
|-<!--Annotated image infobox template code starts below here-->
 
|-<!--Annotated image infobox template code starts below here-->
 
<!--Start image wrapper-->
 
<!--Start image wrapper-->
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:inherit; {{#if:{{{frameless|}}}|border:0px;}} background-color:{{{image-bg-color|white}}};">
+
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:inherit; {{#if:{{{frameless|}}}|border:0px;}} background-color:{{{image-bg-color|transparent}}};">
 
<!--Start annotated image-->
 
<!--Start annotated image-->
 
<div style="left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|350}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]]
 
<div style="left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|350}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]]

Latest revision as of 03:24, 28 February 2018

Annotated image infobox is a derivative of Template:Annotated image 4 for use in infoboxes. Most parameters are the same, but padding and margins have been removed.