Template talk:Infobox museum
This is the talk page for discussing improvements to the Infobox museum template. |
|
Archives: 1, 2Auto-archiving period: 28 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
This template was considered for deletion on 30 March 2013. The result of the discussion was "keep". |
|
||
This page has archives. Sections older than 28 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Template generating plain-text coordinates
editThis 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)
- 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)
Logo scale
editHi. 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)
- 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)- 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)- Bravo, Jonesey95. The page looks so much better now! -SusanLesch (talk) 20:57, 19 June 2023 (UTC)
- As a follow-up,
Showing mapframe for all maps and changing default zoom
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)