Template:OSM Location map/core: Difference between revisions
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)}} |
|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
Template documentation
This subtemplate is used by {{OSM Location map}} to generate the map. This subtemplate should not be used directly.