Template talk:Infobox bridge

(Redirected from Template talk:Infobox bridge/sandbox)
Latest comment: 2 months ago by Jonesey95 in topic Edit request 30 May 2025

Marker of locator

edit

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
@Jonesey95:   Done Sandboxed here and tested successfully here:

{{Infobox bridge/sandbox}}

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

Edit request mapframe

edit

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

  Done — Martin (MSGJ · talk) 10:40, 10 September 2024 (UTC)Reply

Regex pattern error

edit

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

edit

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:

|sizedefault=250px|maxsize=325px
+

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

  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