Difference between revisions of "Template:UO Image"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{1|}}}|map| | {{#ifeq: {{{1|}}}|map| | ||
− | {{#vardefine: map|MAP{{#switch: {{lc:{{{2|}} }} | + | {{#vardefine: map|MAP{{#switch: {{lc:{{{2|}}} }} |
|felucca=0 | |felucca=0 | ||
|trammel=1 | |trammel=1 | ||
Line 9: | Line 9: | ||
|eodon=5 | |eodon=5 | ||
}}-1.png}} | }}-1.png}} | ||
− | |||
<div class="thumbnail" style="position: relative;width:{{#expr:{{{5|175}}}*2}}px;height:{{#expr:{{{5|175}}}*2}}px;overflow: hidden;"> | <div class="thumbnail" style="position: relative;width:{{#expr:{{{5|175}}}*2}}px;height:{{#expr:{{{5|175}}}*2}}px;overflow: hidden;"> | ||
<img src="http://stratics.com/w/index.php?title=File:{{#var:map}}" style="-webkit-clip-path: circle({{{5|175}}}px at {{{3}}}px {{{4}}}px); | <img src="http://stratics.com/w/index.php?title=File:{{#var:map}}" style="-webkit-clip-path: circle({{{5|175}}}px at {{{3}}}px {{{4}}}px); | ||
</div> | </div> | ||
}} | }} |