Template:OSM Location map/core: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
minipog-y try -1
Adjust minimap boxwidth again - box gets centered on x,y, which is the centre
Line 1,919: Line 1,919:
|outline-style=solid
|outline-style=solid
|x1= {{#expr:{{{minimap|10}}}-({{{mini-width|10}}}/2)+{{{minipog-x}}}-1+({{{width|400}}}/2)}}
|x1= {{#expr:{{{minimap|10}}}-({{{mini-width|10}}}/2)+{{{minipog-x}}}-1+({{{width|400}}}/2)}}
|y1= {{#expr:{{{minitop|10}}}-({{{mini-height|10}}}/2)+{{{minipog-y}}}-1+({{{height|300}}}/2)}}-({{{minimap-boxwidth|10}}}*{{{height|300}}}/{{{width|400}}}/2) }}
|y1= {{#expr:{{{minitop|10}}}-({{{mini-height|10}}}/2)+{{{minipog-y}}}-1+({{{height|300}}}/2)}} }}
}} }} }}<div style="display:inline-block; position: absolute;top: 9px;left: {{#expr:{{{width|500}}}-36}}px"><span style="color: white; opacity:100;
}} }} }}<div style="display:inline-block; position: absolute;top: 9px;left: {{#expr:{{{width|500}}}-36}}px"><span style="color: white; opacity:100;
font-size: 19px; font-weight:normal; text-align: left;">{{#tag:maplink|
font-size: 19px; font-weight:normal; text-align: left;">{{#tag:maplink|

Revision as of 20:26, 25 April 2024