Difference between revisions of "Template:Creature Spawns Map/EntropiaPlanets Forums"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="position:absolute; left:{{#expr: ({{{?Longitude|}}} - 8200)/30 -14}}px; bottom:{{#expr: ({{{?Latitude|}}} -8200)/30 -20}}px; width:200px; vertical-align:middle; border:1px solid green;">
<table style="position:absolute; left:{{#expr: ({{{?Longitude|}}} - 8200)/30 -15}}px; bottom:{{#expr: ({{{?Latitude|}}} -8200)/30 -20}}px; width:200px; vertical-align:middle;">
<tr>
<tr>
<td style="width:28px;">
<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: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: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>
<div style="height:10px; text-align:center; position:relative; bottom:8px; font-size:10px; font-weight:bold;">{{{?Creature Max Level|}}}</div>
</td>
</td>
<td>
<td style="vertical-align:middle">
{{#replace:{{{?Creature|}}}|Creature:| }} {{{?Form Edit Link|}}}
{{#replace:{{{?Creature|}}}|Creature:| }} {{{?Form Edit Link|}}}
</td>
</td>
Line 12: Line 12:
</table>
</table>
<!-- This is a comment explaining a few numbers
<!-- This is a comment explaining a few numbers
left:{{#expr: ({{{?Longitude|}}} - 8200)/30 -6}}px; is defining the start of the div 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 div is actually representing the location. Therefore Longitude has another offset of -14px (half width of the marker image) and Latitude another offset of -20px (approxiamtely half the total height of the div) to align the center of the map marker to the actual location. -->
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 01:06, 27 November 2012

Position:(,,x) Min-Max Level:- Spawn Size: Spawn Rate: Loot Distribution: Spawn Type: Estate: Hunting Tax: Mining Tax: