Difference between revisions of "User:BrianFreud"

m
m
Line 1: Line 1:
{{#if: true| <!-- This does the work to convert sextant coordinates to tile coordinates.
+
<div style="position:relative;z-index:2;width:80%;white-space:nowrap;-moz-column-count: 3;-moz-column-gap: 20px;-webkit-column-count: 3;-webkit-column-gap: 20px;column-count: 3;column-gap: 20px;">
 
+
{{#dpl: categorymatch=UO%Mobile
Maps:
+
|ordermethod = title
1 = Britannia (Tram or Fel)
+
|suppresserrors = true
2 = Lost Lands
+
|noresultsheader = &nbsp;
3 = Ilshenar
+
|allowcachedresults = true
 
+
|includepage={User:BrianFreud/Hunters1}.dpl
START COORDINATE CONVERSION CODE -->
+
|ordermethod = title
{{#vardefine: y1|123}}
 
{{#vardefine: y2|8}}
 
{{#vardefine: y3|N}}
 
{{#vardefine: x1|172}}
 
{{#vardefine: x2|59}}
 
{{#vardefine: x3|W}}
 
{{#vardefine:map|1}}
 
{{#vardefine: height|{{#switch: {{#var:map}}
 
| 1 = 4096
 
| 2 = 4096
 
| 3 = 1600
 
}} }}
 
{{#vardefine: centerY|{{#switch: {{#var:map}}
 
| 1 = 1624
 
| 2 = 3112
 
| 3 =
 
}} }}
 
{{#vardefine: width|{{#switch: {{#var:map}}
 
| 1 = 5120
 
| 2 = 5120
 
| 3 = 2304
 
}} }}
 
{{#vardefine: centerX|{{#switch: {{#var:map}}
 
| 1 = 1323
 
| 2 = 5936
 
| 3 =  
 
}} }}
 
{{#vardefine: y|{{#expr:{{#expr:{{#var:y1}}*100}}+{{#expr:{{#expr:{{#var:y2}}*10}}/6}}}}}}
 
{{#vardefine: y|{{#ifeq: {{#var:y3}}|N|{{#expr:36000-{{#var:y}}|{{#var:y}} }} }} }}
 
{{#vardefine: y|{{#expr:{{#var:y}}*{{#var:height}}}}}}
 
{{#vardefine: y|{{#expr:{{#var:y}}/36000}}}}
 
{{#vardefine: y|{{#expr:{{#var:centerY}}+{{#var:y}}}}}}
 
{{#vardefine: y|{{#expr:{{#var:y}} mod {{#var:height}}}}}}
 
{{#vardefine: x|{{#expr:{{#expr:{{#var:x1}}*100}}+{{#expr:{{#expr:{{#var:x2}}*10}}/6}}}}}}
 
{{#vardefine: x|{{#ifeq: {{#var:x3}}|W|{{#expr:36000-{{#var:x}}|{{#var:x}} }} }} }}
 
{{#vardefine: x|{{#expr:{{#var:x}}*{{#var:width}}}}}}
 
{{#vardefine: x|{{#expr:{{#var:x}}/36000}}}}
 
{{#vardefine: x|{{#expr:{{#var:centerX}}+{{#var:x}}}}}}
 
{{#vardefine: x|{{#expr:{{#var:x}} mod {{#var:width}}}}}}
 
 
 
<!-- END COORDINATE CONVERSION CODE  -->
 
 
}}
 
}}
 
+
</div>
{{UO_Image|map|felucca|{{#var:x}}|{{#var:y}}|75}}
 

Revision as of 22:41, 7 September 2016