To get rid of this ad please Sign up/Login.
Difference between revisions of "Template:MapItem"
m |
m |
||
Line 3: | Line 3: | ||
| 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/Port Atlantis Map = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2 - 8}}px; top:{{#expr: (75390 - {{{Latitude}}}) * 2 -8}}px;">{{#ifexist: File:Map_Icon_{{{Type}}}.png | [[File:Map_Icon_{{{Type}}}.png]] | <span style="color:red; vertical-align:text-bottom">X </span> }}<span style="color:black; vertical-align:text-bottom">{{{Name}}}</span></div> | | Port Atlantis/Port Atlantis Map = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2 - 8}}px; top:{{#expr: (75390 - {{{Latitude}}}) * 2 -8}}px;">{{#ifexist: File:Map_Icon_{{{Type}}}.png | [[File:Map_Icon_{{{Type}}}.png]] | <span style="color:red; vertical-align:text-bottom">X </span> }}<span style="color:black; vertical-align:text-bottom">{{{Name}}}</span></div> | ||
| Port Atlantis = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2 - 8}}px; | | Port Atlantis = <div style="position:absolute; left:{{#expr: ({{{Longitude}}} - 61230) * 2 - 8}}px; top:{{#expr: (75390 - {{{Latitude}}}) * 2 -8}}px;">{{#ifexist: File:Map_Icon_{{{Type}}}.png | [[File:Map_Icon_{{{Type}}}.png]] | <span style="color:red; vertical-align:middle">X </span> }}<span style="color:black; vertical-align:middle">{{{Name}}}</span></div> | ||
}} | }} |