Template:Coordinates: Difference between revisions

From CinderCivs Wiki
Jump to navigation Jump to search
(Created the template (not functional until parse functions extension is added))
 
mNo edit summary
Line 1: Line 1:
{| class="mw-collapsible mw-collapsed" style="width: 175px; margin-top: 0; margin-bottom: 0; background: none; border: none"
{| class="mw-collapsible mw-collapsed" style="width: 175px; margin-top: 0; margin-bottom: 0; background: none; border: none"
|+ scope="width = 175px; text-align = left;" style="font-weight: normal; text-align: left"| {{{x}}} {{{y}}}
|+ scope="width = 175px; text-align = left;" style="font-weight: normal; text-align: left"| {{{x}}} {{{y}}}
| [[file:CoordinateMap.png|border|175px]]  
| [[file:CoordinateMap.png|border|175px]] <span style="position: relative; top: {{#expr: ({{{y}}} / 58.48) - 100.75}}px; left: {{#expr: ({{{x}}} / 58.48) + 86.5}}px; transform: translate(-2, -2);">[[File:Dot.png|4px]]</span>
| <span style="position: relative; top: {{#expr: ({{{y}}} / 58.48) - 1.5}}px; left: {{#expr: ({{{x}}} / 58.48) - 94}}px; transform: translate(-2, -2);">[[File:Dot.png|4px]]</span>
|}
|}

Revision as of 07:04, 27 May 2024

{{{x}}} {{{y}}}
<span style="position: relative; top: Expression error: Unrecognized punctuation character "{".px; left: Expression error: Unrecognized punctuation character "{".px; transform: translate(-2, -2);">