Template talk:Infobox road
Template:Permanently protected
| If you set up a country to use this template, be sure to add it to this page. |
Template talk:Infobox road/Error counter Template:Old AfD multi
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |
| Template:WikiProject Infoboxes Template:WikiProject Highways | |
"Route map: "
Why do articles like M25 motorway or Interstate 275 (Michigan) have (in desktop view) at the top right the text "Route map:" and then a blank line before the infobox starts? Seems to add no value at all. At California State Route 1 the hatnote text even comes between the "route map" and the infobox. Are there articles where it actually serves a purpose? Fram (talk) 11:46, 8 December 2025 (UTC)
- I don't see any such blank line (logged out, Brave browser on Mac OS). Feel free to upload a screen shot from a logged-out browser on your computer. In any event, I don't think this infobox is causing the Route map wording and globe with pop-down map to appear. In California State Route 1, it is still there if I remove the infobox in Preview. I believe that it is generated by {{Attached KML/California State Route 1}}, which is called from {{Attached KML}} in the footer. The talk page for that template would be a good place to address your concerns. – Jonesey95 (talk) 20:21, 9 December 2025 (UTC)
Edit request
Template:Edit protected Please add a separate category for tracking shield errors for Template:Infobox road/shieldmain.--~2025-43018-05 (talk) 03:54, 29 December 2025 (UTC)
- @~2025-43018-05: First, there is no such page as Template:Infobox road/shieldmain. Second, you don't state what constitutes a "shield error". Third, I don't see that there has been any discussion on the need to add such a category. Therefore, Not done for now: please establish a consensus for this alteration before creating an edit request. --Redrose64 🦌 (talk) 13:24, 29 December 2025 (UTC)
Edit request 25 January 2026
Template:Edit template-protected
Please add .header-ATG to line 92 (after .header-MUTCDgreen, .header-AGO, .header-ANG, .header-ARE, .header-ARG, on Template:Infobox road/styles.css. — Preceding unsigned comment added by CROIX (talk • contribs) 20:56, 25 January 2026 (UTC)
- Done. Imzadi 1979 → 21:28, 25 January 2026 (UTC)
Edit request 19 February 2026
Template:Edit template-protected
Description of suggested change: The list of national roads was recently moved to a dedicated article in National roads in Greece. Therefore, line 268 should be modified to reflect the location of the article. For the test cases, see Module talk:Infobox road/browselinks/testcases.
Diff:
| − | return "*'''Highways in Greece'''\n\n*[[Motorways in Greece|Motorways]]\n*[[National | + | return "*'''Highways in Greece'''\n\n*[[Motorways in Greece|Motorways]]\n*[[National roads in Greece|National roads]]" |
Best, --Minoa (talk) 10:05, 19 February 2026 (UTC)
- Done * Pppery * it has begun... 18:59, 19 February 2026 (UTC)
| country = BRA | state = DF linking to a disambiguation page
I happened to see this issue on Monumental Axis. So I came here to look for a way to disambiguate it, but the documentation was very confusing. The initial mention of "state" in the documentation, where "country" is explained, doesn't mention Brazil. But, then there's a separate table below, where it actually says Federal district; two-letter abbreviation (DF)
. There should not be two separate lists of the same thing there.
I had to then spend more time to find Template:Infobox road/doc/tech. The idea that some parts of the template documentation are too technical (compared to the existing 74 KB of /doc?) and have to be moved to a subpage where they are harder to find - seems plain silly on the face of it.
I followed another link and then another link to find Module:Road data/strings/BRA#L-70 which sounds like it could be the place to fix this, but I'm not sure.
I went through the docs some more and found mentions of disambiguation in Module:Road data/strings/doc, but that seemed to be more about route link disambiguation. I went back, read some more, figured based on the Module:Road data/strings/USA/AS example that there could be a Module:Road data/strings/BRA/DF, but actually there isn't one.
Maybe it's too late here and I'm not thinking straight, but I still wanted to make a note of how badly this use case is documented, despite the presence of a whole lot of documentation text here. --Joy (talk) 23:20, 14 March 2026 (UTC)
- Today I figured I could try just using the search engine in the interesting namespaces and it looks like I found it in the Module namespace, at Module:ISO 3166/data/BR. Yay. Still, this looks to be undocumented. --Joy (talk) 17:56, 16 March 2026 (UTC)
- Actually, that wasn't it, either. I found it and fixed it here in Module:Infobox road/locations. This is such a bunch of spaghetti code. --Joy (talk) 21:11, 16 March 2026 (UTC)
Edit request 29 April 2026
Template:Edit template-protected
Description of suggested change: In accordance with Wikipedia:WikiProject Highways/Route markers/Resources#Greece, and the SVG diagrams of road signs in Greece, Template:Infobox road/styles.css should be changed with the following CSS colour rules for Greek motorways and national roads:
| − | .header-motorway, .header-ALA, .header-AZE, .header-CHE, .header-EST, .header-GIN, .header- | + | .header-motorway, .header-ALA, .header-AZE, .header-CHE, .header-EST, .header-GIN, .header-JOR, .header-LAO, .header-LBN, .header-LIE, .header-MLT, .header-MNG, .header-MYS, .header-NLD, .header-OMN, .header-ROU, .header-SUR, .header-SVK, .header-SYR, .header-TTO, .header-YEM {
background:#0079C1;
color:#fff;
}
.header-GRC {
background:#0C479D;
color:#fff;
}
.header-GRC-A {
background:#07845D;
color:#fff;
} |
The change is justified by the fact that many Greek national roads and motorways now have their own article with sources, per WP:GEOROAD.