Template:Highwaycolor

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template sets the background color according to the given parameter.

{|
! Highway color
|-
| {{highwaycolor|primary}} | primary
|-
| {{highwaycolor|secondary}} | secondary
|-
| {{highwaycolor|tertiary}} | tertiary
|-
| {{highwaycolor}} | road (unset)
|}

gives:

Highway color
primary
secondary
tertiary
road (unset)