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
 
(6 intermediate revisions by the same user not shown)
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: 155px; margin-top: 0; margin-bottom: 0; background: none; border: none" data-expandtext="Show Map" data-collapsetext="Hide Map"
|+ scope="width = 175px; 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|175px]]  
| [[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>
| <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>
|}
|}

Latest revision as of 10:33, 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);">