Jump to content

Template:CSS image crop: Difference between revisions

From Emps-World Wiki
Mary (talk | contribs)
No edit summary
Mary (talk | contribs)
No edit summary
Line 1: Line 1:
<div class="{{#ifeq: {{{Location}}} | center |center"><div class="|{{#ifeq: {{{Description|}}}|||thumb}}}} {{#switch: {{{Location}}} | right = t | left = t | none = t | = {{#ifeq: {{{Description|}}}|||tright}}}}{{{Location}}}">
 
{{#ifeq: {{{Description|}}}|||<div style="width: {{{cWidth}}}px;" class="thumbinner">}}
<div style="width: {{{cWidth}}}px;" class="thumbinner">}}
<div style="width:{{{cWidth}}}px;height:{{{cHeight}}}px;overflow:hidden;position:relative">
<div style="width:{{{cWidth}}}px;height:{{{cHeight}}}px;overflow:hidden;position:relative">
<div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px">
<div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px">

Revision as of 09:18, 25 June 2015

}}

{{{Image}}}|{{{bSize}}}px