Template:ElementUsage2

From OpenStreetMap Wiki
Jump to navigation Jump to search
use on nodes unspecifieduse on ways unspecifieduse on areas unspecifieduse on relations unspecified
[Edit] [Purge] Template-info.svg Template documentation

This is a helper template for {{ElementUsage}}. See the documentation there for details.

Usage

{{ElementUsage2|onNode= yes/no |onWay= yes/no |onArea= yes/no |onRelation= yes/no }} Parameters are optional the default will render default gray icons as in the preview above the documentation.

Possible parameter values are yes, no, and are not case-sensitive. Unrecognized or unspecified values will show the default gray icons as above.

Examples

  • {{ElementUsage2|onNode= yes |onWay= yes |onArea= yes |onRelation= yes }}
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
  • {{ElementUsage2|onNode= no |onWay= no |onArea= no |onRelation= no }}
should not be used on nodesshould not be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)