Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Infobox mapframe

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Infobox mapframe/doc)
Latest comment: 19 days ago by Zackmann08 in topic Mixed parameter style

Discussion notice

[edit]

I have started a discussion here about a proposal to refactor the way Template:Location map works in Infoboxes, specifically looking at making it more like this template. PLEASE join the discussion. Need lots of feedback on this one. Zackmann (Talk to me/What I been doing) 17:40, 22 June 2026 (UTC)Reply

New style for parameters documentation

[edit]

I was going to redo the Template:Infobox mapframe/doc/parameters template to be a table instead of a list. Following the same layout I did for the pushpin map parameters (Template:Location map/doc/infobox parameters). Does anyone object to this? No information will be removed, just displayed in a different layout. Zackmann (Talk to me/What I been doing) 21:57, 2 July 2026 (UTC)Reply

Mixed parameter style

[edit]

Since this module is used by infoboxes, it should follow MOS:INFOBOX parameter naming style (use snake case). Currently it uses a mixed style in its own module - |marker-color= and |length_km=. Gonnym (talk) 13:54, 6 July 2026 (UTC)Reply

Gonnym beat me to it. I have mocked something up in the sandbox, see diff. What I propose
  1. Start by at least supporting the snake cased parameters.
  2. Update Check for unknown parameters which will automatically make it work in all infoboxes due to some magic I setup months ago.
  3. Update the documentation to show the snake case
  4. Get a bot run going to start cleaning up ALL uses of |mapframe-...= in all the places
  5. Once the bot run has been completed, remove support for the dashed version of the parameters.
  6. Celebrate and eat cake?
@Hike395: I know this module has been (somewhat reluctantly at times) a passion project of yours so would REALLY like your input here. Obviously all other inputs welcome as well.
--Zackmann (Talk to me/What I been doing) 21:27, 7 July 2026 (UTC)Reply