Module talk:Infobox road/color
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
![]() | It is requested that an edit be made to the template-protected module at Module:Infobox road/color. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
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)