Difference between revisions of "Template:UO Image"

m
m
Line 1: Line 1:
{{#ifeq: {{{1|}}}|map|
+
<includeonly>{{#ifeq: {{{1|}}}|map|
 
<div style="position: relative;width:{{#expr:{{{5|175}}}*2}}px;height:{{#expr:{{{5|175}}}*2}}px;overflow: hidden;"><div style="-webkit-clip-path: circle({{{5|175}}}px at {{{3}}}px {{{4}}}px); transform: translate({{#expr: {{{5|175}}}-{{{3}}} }}px,{{#expr: {{{5|175}}}-{{{4}}} }}px);">[[File:MAP{{#switch: {{lc:{{{2|}}} }}
 
<div style="position: relative;width:{{#expr:{{{5|175}}}*2}}px;height:{{#expr:{{{5|175}}}*2}}px;overflow: hidden;"><div style="-webkit-clip-path: circle({{{5|175}}}px at {{{3}}}px {{{4}}}px); transform: translate({{#expr: {{{5|175}}}-{{{3}}} }}px,{{#expr: {{{5|175}}}-{{{4}}} }}px);">[[File:MAP{{#switch: {{lc:{{{2|}}} }}
 
|felucca=0
 
|felucca=0
Line 9: Line 9:
 
|eodon=5
 
|eodon=5
 
}}-1.png]] </div></div>}}
 
}}-1.png]] </div></div>}}
 +
</includeonly>
 +
<nowiki>
 +
{{UO_Image|map|facet|x|y|w}}
 +
Where:
 +
facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon
 +
x and y = coords of the center of the circle
 +
w = the width of the circle to draw
 +
Example: Vesper {{UO_Image|map|felucca|2926|842|100}}
 +
</nowiki>
 +
Result: {{UO_Image|map|felucca|2926|842|100}}

Revision as of 20:49, 17 August 2016

{{UO_Image|map|facet|x|y|w}} Where: facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon x and y = coords of the center of the circle w = the width of the circle to draw Example: Vesper {{UO_Image|map|felucca|2926|842|100}}

Result:

MAP0-1v2.png

{{UO_Image|map|facet|x|y|w}} Where: facet = felucca, trammel, ilshenar, tokuno, ter mur, or eodon x and y = coords of the center of the circle w = the width of the circle to draw Example: Vesper {{UO_Image|map|felucca|2926|842|100}} Result: Template loop detected: Template:UO Image