Difference between revisions of "Template:Static map spawns/Cyrene"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
 
(87 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="position:absolute; left:{{#expr: ({{{?Longitude|}}} - 122880)/10 -17}}px; bottom:{{#expr: ({{{?Latitude|}}} -73728)/10 -23}}px; width:200px; vertical-align:middle;">
<div style="position:absolute; left:{{#expr: ({{{?Longitude|}}} - 122880)/16 -14 round 0}}px; bottom:{{#expr: ({{{?Latitude|}}} -76512)/16 -20 round 0}}px;"><div style="height:11px; text-align:center; font-size:9px;">{{{?Creature Max Level|}}} &nbsp; &nbsp; </div><div><span style="visibility:{{#ifeq:{{{?Spawn Size}}}|Large|visible|hidden}};">(</span><span style="visibility:{{#switch:{{{?Spawn Size}}}|Medium=visible|Large=visible|hidden}};">(</span><span class="ep-tip">[[{{{?Location}}}|<i class="fa fa-paw ep-red ep-tip"></i>]]<span class="wikiFocusBox" style="white-space:nowrap">{{{?Creature|}}}<br />Position:({{{?Longitude|}}}, {{{?Latitude|}}}, x)<br />Closest TP:{{{?Closest Location|}}}<br />Min-Max Level:{{{?Creature Min Level|}}}-{{{?Creature Max Level|}}}<br />Spawn Size:{{{?Spawn Size|}}}<br />Spawn Rate:{{{?Spawn Rate|}}}<br />Loot Distribution:{{{?Spawn Loot Distribution|}}}<br />Spawn Type:{{{?Spawn Type|}}}<br />Estate:{{{?Estate|}}}<br />Hunting Tax:{{{?Hunting Tax|}}}<br />Mining Tax:{{{?Mining Tax|}}}</span></span><span style="visibility:{{#switch:{{{?Spawn Size}}}|Medium=visible|Large=visible|hidden}};">)</span><span style="visibility:{{#ifeq:{{{?Spawn Size}}}|Large|visible|hidden}};">)</span>{{{?Form Edit Link|}}}</div><div style="height:11px; text-align:center; font-size:9px;"><span style="position:relative; bottom:7px;">{{{?Creature Min Level|}}} &nbsp; &nbsp; </span></div></div>
<tr>
<td style="width:30px;">
<div style="height:10px; text-align:center; position:relative; top:0px; font-size:10px; font-weight:bold;">{{{?Creature Min Level|}}}</div>
<div style="height:20px; vertical-align:middle;">[[File:Spawn{{{?Spawn Size|}}}_Marker.png|middle|link={{{?Location|}}}|{{{?Creature|}}}   Position:({{{?Longitude|}}},{{{?Latitude|}}},x)   Min-Max Level:{{{?Creature Min Level|}}}-{{{?Creature Max Level|}}}   Spawn Size:{{{?Spawn Size|}}}   Spawn Rate:{{{?Spawn Rate|}}}   Loot Distribution:{{{?Spawn Loot Distribution|}}}   Spawn Type:{{{?Spawn Type|}}}   Estate:{{{?Estate|}}}   Hunting Tax:{{{?Hunting Tax|}}}   Mining Tax:{{{?Mining Tax|}}}]]</div>
<div style="height:10px; text-align:center; position:relative; bottom:8px; font-size:10px; font-weight:bold;">{{{?Creature Max Level|}}}</div>
</td>
<td style="vertical-align:middle">
{{#replace:{{{?Creature|}}}|Creature:| }} {{{?Form Edit Link|}}}
</td>
</tr>
</table>
<!-- This is a comment explaining a few numbers
left:{{#expr: ({{{?Longitude|}}} - 8200)/30 -15}}px; is defining the start of the table from the left border of the map. 8200 is the about the offset of the map, meaning the left border of the map represent 8200 longitude. {{{?Longitude|}}} - 8200) is divided by 30 because the map image has width:800px and is showing 3 server areas of 8000m each respectively 24000m total, so factor 30 consists of 2 subfactors: factor 10 representing the relation of a server area width (8000) to the with of the map image (800); and factor 3 which is the number of server areas on the map image (in horizontal of course). Latitude is working accordingly. Using left: and bottom: results in the bottom left corner of the table representing the location. Therefore Longitude has another offset of -15px (~half width of the marker image) and Latitude another offset of -20px (~half the total height of the table) to align the center of the map marker to the actual location. -->

Latest revision as of 03:05, 12 July 2014

   
(([[{{{?Location}}}|]]
Position:(, , x)
Closest TP:
Min-Max Level:-
Spawn Size:
Spawn Rate:
Loot Distribution:
Spawn Type:
Estate:
Hunting Tax:
Mining Tax:
))