Template generating plain-text coordinates

edit

This template appears to pull coordinates from Wikidata (property P625), but the coordinates generated within the infoboxes are plain text, not linked to geohack pages. Is there a way of fixing this, preferably in a way that uses {{coord}} and can be easily added to any other similar cases, and requires minimal change to the template logic? — The Anome (talk) 14:15, 21 April 2023 (UTC)Reply

Please link to an example page where this is happening. I don't see a Wikidata call in the template, but there could be some magic happening. – Jonesey95 (talk) 16:08, 21 April 2023 (UTC)Reply

Logo scale

edit

Hi. Is it possible to scale down the logo in Mill City Museum? It looks goofy so big and the upright scaling factor doesn't seem to affect SVG. Thank you. -SusanLesch (talk) 17:15, 19 June 2023 (UTC)Reply

This is a tricky one, but I have fixed it for this infobox. This infobox calls Module:InfoboxImage, which defaults to "frameless" as the logo size; "frameless" displays images at the reader's preferred thumbnail size. However, as documented at that Module page, When "size", "sizedefault", and "maxsize" are not defined, "frameless" is added, which displays the image at the default thumbnail size (220px, but logged in users can change this at Special:Preferences) and is required if using "upright" to scale the default size. Until a moment ago, this template defined "sizedefault" and "maxsize", which made it so that the reader-friendly "frameless" was not applied, which made Module:InfoboxImage ignore any value of "upright". See mw:Help:Images for more details on the limitations of the upright option for images. – Jonesey95 (talk) 19:23, 19 June 2023 (UTC)Reply
As a follow-up, |logo_size= should be replaced with |logo_upright= in the 30 pages that use it, and then |logo_size= should be removed from this template. – Jonesey95 (talk) 19:26, 19 June 2023 (UTC)Reply
Bravo, Jonesey95. The page looks so much better now! -SusanLesch (talk) 20:57, 19 June 2023 (UTC)Reply

Showing mapframe for all maps and changing default zoom

edit

Hi, please add these arguments:

| mapframe-wikidata = yes | mapframe-zoom = 13

to this code

| image4      = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-width=250|mapframe-frame-width=250|mapframe-marker=museum}}
| caption4    = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}}}

To show red line area indicators for all museums. For example see German Museum of Technology.

Additionally default zoom is too small for a building. We can change default zoom to 13 and change that for larger or smaller museums. Thanks, Hooman Mallahzadeh (talk) 11:48, 26 December 2023 (UTC)Reply

  Done * Pppery * it has begun... 18:03, 26 December 2023 (UTC)Reply