Template talk:Location

From translatewiki.net

Contents

Thread titleRepliesLast modified
Forced map123:39, 23 February 2022

Forced map

The change to show the minimap breaks the layout of my user page. Please make it hidden by default, or at least hidable.

Nike (talk)13:47, 23 February 2022

Even if I took care of not breaking any page, and carefully aligning it with Babelboxes used on many pages, and that I also alload the box to be floatting on another side than the left, or not floatting at all for encapsulating it in custom layout, I have added the "hidden=*" parameter to honor your request (note: the location was already displayed before these). I've looked at many user pages to see what was happening and did not see any defect (almost all pages use it just before or after the babelbox and these two are floatting and correctly aligned, not taking more space then existing Babelboxes). I have also allowed customizing the default zoom level. Anyway I don't see how this box breaks the layout of your page. But now you can hide it easily.

Note also that Babelboxes for projects can also be rendered with an horizontal layout (you just need {{#babel:plain=yes|codes...}} instead of just {{#babel:codes...}}. In that case they will all be floating individually to the left and flowing side-by-side to the right, and will wrap automatically to the next row when the page width does not fit them all; that's why they are all precisely of the same width and height; you can see an example on my user page). This would allow you to not use a static number of columns in a custom table at end of your page (and would allow your page to fit them in a flexible way on a narrow mobile display for example).

Verdy p (talk)23:27, 23 February 2022