Jump to content

Module talk:Infobox road/color

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Conejero intl (talk | contribs) at 08:50, 26 July 2019 (Template-protected edit request on 26 July 2019: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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)[reply]

Template-protected edit request on 26 July 2019

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)[reply]