Template talk:Infobox bridge

From Wikipedia, the free encyclopedia
Latest comment: 30 May by Jonesey95 in topic Edit request 30 May 2025
Jump to navigation Jump to search

Template:Permanently protected User:MiszaBot/config Template:WikiProject banner shell Template:Archives

Marker of locator

Hi, the marker should be "bridge", so please correct that on data86 this way:

| header85    = Location
 | data86     = {{#invoke:Infobox mapframe|auto|onByDefault=yes|mapframe-frame-width=250|mapframe-marker=bridge}}
 | data87     = {{#invoke:Infobox mapframe|autocaption}}

Thanks, Hooman Mallahzadeh (talk) 10:38, 30 March 2024 (UTC)Reply

Please make the change in the sandbox and show it at work on the testcases page. – Jonesey95 (talk) 05:25, 2 April 2024 (UTC)Reply
Template:Ping File:Yes check.svg Done Sandboxed here and tested successfully here:

Template:Tl

Thanks for the testing. This seems like an uncontroversial enhancement, so File:Yes check.svg Done. – Jonesey95 (talk) 15:09, 2 April 2024 (UTC)Reply

Edit request mapframe

Template:Edit template-protected Per this discussion, could somebody make the change required (example) to have the red outline appear in the map? Abductive (reasoning) 08:24, 10 September 2024 (UTC)Reply

File:Yes check.svg Done — Martin (MSGJ · talk) 10:40, 10 September 2024 (UTC)Reply

Regex pattern error

A heads-up that an error shows up below the Location header, such as in Norfolk Southern–Gregson Street Overpass. LightNightLights (talkcontribs) 07:40, 13 September 2024 (UTC)Reply

Not sure what's wrong but those coordinates seem to be causing the error. I've commented them out for now — Martin (MSGJ · talk) 07:52, 13 September 2024 (UTC)Reply
I fixed the problem in the template. A recent change was causing this error message in 500+ pages. – Jonesey95 (talk) 12:01, 13 September 2024 (UTC)Reply
Thanks for reverting. @Abductive was following your suggestion to add mapframe-wikidata — Martin (MSGJ · talk) 12:35, 13 September 2024 (UTC)Reply
Was it because the Wikipedia (or Wikidata) coordinates missed the bridge(s) as shown on OSM? Abductive (reasoning) 12:50, 13 September 2024 (UTC)Reply

Edit request 30 May 2025

Template:Edit template-protected Description of suggested change: Remove the sizedefault and maxsize parameters from the image syntax. These parameters incorrectly cause the upright parameter not to work (see Module talk:InfoboxImage#Other size parameters cause upright to be ignored). They also prevent images from scaling with users' chosen thumbnail size, which is the behavior of most infoboxes. I've made this change in Template:Infobox bridge/sandbox.

Diff: Template:TextDiff Pi.1415926535 (talk) 03:48, 30 May 2025 (UTC)Reply

Template:Not done for now: It looks like the InfoboxImage module is getting a fix for this issue. Let's wait to see if it works. – Jonesey95 (talk) 11:37, 30 May 2025 (UTC)Reply
@Jonesey95: Even with that fix, these parameters should not be used here. The sizedefault parameter is redundant to the default upright value; unlike the latter, sizedefault does not scale for users who have chosen different thumbnail sizes in their preferences. Pi.1415926535 (talk) 16:11, 30 May 2025 (UTC)Reply
You'd have to get consensus for that. I have made that same argument at other infobox talk pages and have been overruled by editors who claim that the guidelines do not apply. – Jonesey95 (talk) 16:55, 30 May 2025 (UTC)Reply