Template:CSS image crop: Difference between revisions
Appearance
No edit summary |
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}}}"> | <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: | {{#ifeq: {{{Description|}}}|||<div style="width: 32px;" class="thumbinner">}} | ||
<div style="width: | <div style="width:32px;height:32px;overflow:hidden;position:relative"> | ||
<div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px"> | <div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px"> | ||
[[File:{{{ImageID/1000}}}.png|{{{bSize}}}px]] | [[File:{{{ImageID/1000}}}.png|{{{bSize}}}px]] |