Template:Coverage

From OpenStreetMap Wiki
Jump to navigation Jump to search

This template sets the background color according to the given parameter (0, 1, 2, 3, 4, X) to the defined value (see Category:Mapping state icon). The red X for the X value has to be added in the graphics currently.

Usage example:

{|
! Test Coverage
|-
| {{coverage|X}} | not_available
|-
| {{coverage|4}} | verified
|-
| {{coverage|3}} | complete
|-
| {{coverage|2}} | usable
|-
| {{coverage|1}} | partial
|-
| {{coverage|0}} | missing
|-
| {{coverage}} | unknown
|}

gives:

Test Coverage
not available
verified
complete
usable
partial
missing
unknown

Another usage example:

{|
! Test Coverage
|-
| {{coverage|not_available}} | not available
|-
| {{coverage|verified}} | verified
|-
| {{coverage|complete}} | complete
|-
| {{coverage|usable}} | usable
|-
| {{coverage|partial}} | partial
|-
| {{coverage|missing}} | missing
|-
| {{coverage|unknown}} | unknown
|}

gives:

Test Coverage
not available
verified
complete
usable
partial
missing
unknown

See also