Difference between revisions of "Template:MapItem"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
Line 1: Line 1:
{{#switch: {{PAGENAME}}
{{#switch: {{PAGENAME}}
| Port Atlantis Area = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 57535) / 15.625}}px; bottom:{{#expr: ({{{Latitude}}} - 73919) / 15.625}}px;">'''<span style="color:red; vertical-align:middle">X </span>'''<span style="color:white; vertical-align:middle">{{{Name}}}</span></div>
| Port Atlantis Area = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 57535) / 15.625}}px; bottom:{{#expr: ({{{Latitude}}} - 73919) / 15.625}}px;">'''<span style="color:red; vertical-align:middle">X </span>'''<span style="color:white; vertical-align:middle">{{{Name}}}</span></div>
| Port Atlantis = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2}}px; bottom:{{#expr: ({{{Latitude}}} - 74990) * 2}}px;">'''<span style="color:red; vertical-align:middle">X </span>'''<span style="color:white; vertical-align:middle">{{{Name}}}</span></div>
| Port Atlantis = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2}}px; bottom:{{#expr: ({{{Latitude}}} - 74990) * 2}}px;">{{#ifexist: File:Map_Icon_{{{Type}}}.png | [[File:Map_Icon_{{{Type}}}.png]] | <span style="color:red; vertical-align:middle">X </span> }}'''<span style="color:white; vertical-align:middle">{{{Name}}}</span></div>
}}
}}

Revision as of 23:43, 6 October 2010