Module talk:Infobox road/color
Appearance
Please place new discussions at the bottom of the talk page. |
This is the talk page for discussing improvements to the Infobox road/color module. |
|
Archives: 1Auto-archiving period: 10 days ![]() |
UC header color for non-orange countries
It's come to my attention that quite a few countries use black-on-yellow for road works signs instead of black-on-orange as we do in the U.S. It should stand to reason then that instead of orange, we should use black-on-yellow for |header_type=UC
and similar for these countries. –Fredddie™ 06:52, 22 January 2019 (UTC)
Template-protected edit request on 26 July 2019
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Update the section for Spain to include more road types. The colours are not defined by law; however, the official legal text includes images from which the hexadecimal codes have been extracted (https://www.boe.es/buscar/doc.php?id=BOE-A-2003-23514, search for "señales de identificación de carreteras).
The new section should look like this:
do -- Spain local ESP = Country:new{default = "background:#E8E8E8;"} ESP:addTypesAsColor({"E"}, "background:#37F623; color:#fff;") ESP:addTypesAsColor({"A", "AP", "R", "Autovia", "Autovía", "Autopista", "autovia", "autovía", "autopista"}, "background:#134BED; color:#fff;") ESP:addTypesAsColor({"N", "national", "nacional"}, "background:#F21F1E; color:#fff;") ESP:addTypesAsColor({"autonomica1", "autonómica1"}, "background:#F58E27; color:#000;") ESP:addTypesAsColor({"autonomica2", "autonómica2"}, "background:#5D3F0F; color:#fff;") ESP:addTypesAsColor({"autonomica3", "autonómica3"}, "background:#F5EA1A; color:#000;") colors.ESP = ESP end -- Spain
Vishal dh (talk) 08:50, 26 July 2019 (UTC)
- I found a document a while back and I extracted these hex codes from it (I put the color codes you got after them for comparison):
- Green #13926C – #37F623
- Red #BF0411 – #F21F1E
- Yellow #F4B70D – #F5EA1A
- Orange #E96310 – #F58E27
- Blue #19408B – #134BED
- In my experience, color codes for road signs are much darker than what they appear, so I'm inclined to think the ones I found are closer. Long story short, the code you wrote out is in place, but I used the color codes I had found previously. –Fredddie™ 13:53, 26 July 2019 (UTC)