From OpenStreetMap Wiki
Jump to: navigation, search

A template to display tag presence requirements.


The first unnamed parameter is the presence requirement, taking one of the values: required, important, optional, or forbidden. important indicates the very common situation in which presence is not absolutely required, but is needed in the default, vast majority, or such like, of cases; in essence, a reason is needed to exclude it, rather than a reason being needed to include it. The remaining options should be sufficiently self-descriptive.
The second unnamed parameter, if set, overrides the name/description text of the presence requirement, and causes the requirement symbol to be the subject of an <abbr> tag.


{{tagpresence|required}} ! Required
{{tagpresence|required|Description text}} ! Description text
{{tagpresence|important}}  Important
{{tagpresence|important|Description text}}  Description text
{{tagpresence|optional}} ? Optional
{{tagpresence|optional|Description text}} ? Description text
{{tagpresence|forbidden}}  Forbidden
{{tagpresence|forbidden|Description text}}  Description text