Template:Coordinates: Difference between revisions
Jump to navigation
Jump to search
(Finally, a workable (not working) template) |
m (fixed a minor bug associated with infobox placement) |
||
Line 1: | Line 1: | ||
{| class="mw-collapsible mw-collapsed" style="width: 155px; margin-top: 0; margin-bottom: 0; background: none; border: none" | {| class="mw-collapsible mw-collapsed" style="width: 155px; margin-top: 0; margin-bottom: 0; background: none; border: none" | ||
|+ scope="width = 155px; text-align = left;" style="font-weight: normal; text-align: left"| {{{x}}} {{{y}}} | |+ scope="width = 155px; text-align = left;" style="font-weight: normal; text-align: left"| {{{x}}} {{{y}}} | ||
| [[file:CoordinateMap.png|border|155px]] <span style="position: relative; top: {{#expr: ({{{y}}} / 66.23) - 90.7}}px; left: {{#expr: ({{{x}}} / 66.23) + 76.5}}px; transform: translate(-2, -2);">[[File:Dot.png|4px]]</span> | | [[file:CoordinateMap.png|border|155px]] <span style="position: relative; top: {{#expr: ({{{y}}} / 66.23) - {{#ifeq: {{{inInfobox|yes}}} | no | 90.7 | 87.7}}}}px; left: {{#expr: ({{{x}}} / 66.23) + 76.5}}px; transform: translate(-2, -2);">[[File:Dot.png|4px]]</span> | ||
|} | |} |