Template talk:Infobox road
| Template:Infobox road is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
| If you set up a country to use this template, be sure to add it to this page. |
| There are 4 infobox transclusions with errors. |
This template was nominated for deletion. Please review the prior discussions if you are considering re-nomination:
|
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
| |||||||||||||||
Edit request 25 January 2026
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
Edit request 19 February 2026
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
| country = BRA | state = DF linking to a disambiguation page
[edit]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
[edit]This edit request to Template:Infobox road/styles.css has been answered. Set the |answered= parameter to no to reactivate your request. |
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.
Best, --Minoa (talk) 23:40, 29 April 2026 (UTC)
Edit request 5 June 2026: Merge changes made in browselinks sandbox to non-sandbox module code
[edit]I updated Module:Infobox road/browselinks/sandbox to swap over to the updated article title for Alberta's provincial highway network as I updated the title to use WP:SENTENCECASE per WP:TITLE policy, and updated the code to use the "second" parameter to link to Alberta's current and former highways instead of having it all be part of the main "provinces" parameter assignment. Therefore I would appreciate it if these changes were merged into the main code of the browselinks module so they are reflected on the applicable articles as soon as possible. Thank you. - Evelyn Harthbrooke (leave a message · contributions) 16:20, 5 June 2026 (UTC)
- I just did some basic research, and per the province itself at their Alberta Open Government Portal, per the map from the province that's in the article, the proper name of the system is "Alberta Numbered Highway Network", which is a proper name and should be rendered as such in either title case or sentence case. I'll get the links updated to reflect this correct name. Imzadi 1979 → 01:18, 6 June 2026 (UTC)
- @Imzadi1979 Can you remove the extra ' at the end of "Network" in the browselinks code? There are four "'"'s instead of the regular three at the end of the italics. - Evelyn Harthbrooke (leave a message · contributions) 04:58, 7 June 2026 (UTC)
- @Evelyn Harthbrooke I will take a look. Someone changed my edit to tweak the number of apostrophes, and I think I have that fixed for you now. Imzadi 1979 → 15:25, 7 June 2026 (UTC)
- Yep, that was my mistake. I hit one extra ' character in trying to fix an error. – Jonesey95 (talk) 14:18, 9 June 2026 (UTC)
- @Evelyn Harthbrooke I will take a look. Someone changed my edit to tweak the number of apostrophes, and I think I have that fixed for you now. Imzadi 1979 → 15:25, 7 June 2026 (UTC)
- @Imzadi1979 Can you remove the extra ' at the end of "Network" in the browselinks code? There are four "'"'s instead of the regular three at the end of the italics. - Evelyn Harthbrooke (leave a message · contributions) 04:58, 7 June 2026 (UTC)
Edit request: Distinctive color for "DIF" shield type in Mexico
[edit]For the Module: Infobox road/color
At the moment, the "DIF" Infobox
parameter in Mexico (Viaducto, Circuito Interior, Anillo Periférico, Ejes Viales) have no header color and default to the generic green that the entire country carries. These road types have distinct official signage designs – see this training document on Mexican road signage, which lists "Escudo de Viaducto", "Escudo de circuito interior", "Escudo de Anillo Periférico", as separate sign categories from the federal highway shield – see the original source, from the SEMOVI manual. [1]
The proposed code is this:
do -- Mexico
local MEX = Country:new{default = "background:#006A4D; color:#fff;"}
MEX:addTypesAsColor({"DIF"}, "background:#000000; color:#FFFFFF;")
colors.MEX = MEX
end -- Mexico
Thanks. Markocortesa2 (talk) 19:51, 20 June 2026 (UTC)
- ^ "Conductor de Transporte Público, Nivel 1 – Señalización Vial" (PDF). Capacítate para el Empleo. Retrieved 20 June 2026.