From OpenStreetMap Wiki
Jump to: navigation, search
Dialog-warning-orange.svg Note: This Template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a Template causes all pages that use the Template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue.

This template provides a description box suitable for keys.


Full parameter set in vertical format
Vertical list Prerequisites Brief instructions / notes
| key           = 
| image         = 
| description   = 
| group         = 
| onNode        = 
| onWay         = 
| onArea        = 
| onRelation    = 
| requires      = 
| implies       = 
| combination   = 
| seeAlso       = 
| status        = 
| statuslink    = 
| website       = 
| url_pattern   = 
| wikidata      = 
| lang          = 
| class         = 
| float         = 
| style         = 
| languagelinks = 
en, de, fr, ja, etc.
set |float=none to inhibit floating
  • If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.


The following parameters are recognised:

Feature description

  • key: the key being described
  • image: the name of an image to be used to illustrate the feature
  • description: a short description of the feature in question
  • group: the name of the broader group to which this feature belongs

Feature usage

  • onNode: yes if the feature being described is suitable for use on node elements, no otherwise
  • onWay: yes if the feature being described is suitable for use on (unclosed) way elements, no otherwise
  • onArea: yes if the feature being described is suitable for use on area elements, no otherwise
  • onRelation: yes if the feature being described is suitable for use on (non-multipolygon) relation elements, no otherwise

Additional information

  • requires: a list of tags which are necessary (often higher/lower in hierarchy) for this tag and must be set to give its actual meaning;
  • implies: a list of tags/values which are assumed when absent; see below for examples; tag them explicitly for exceptions
  • combination: a list of additional tags which are useful in combination with this one; see below for examples
  • seeAlso: references to additional pages which may be of interest
  • status: the approval status of this feature; possible values include:
    • inuse: the feature is in use
    • approved: the feature has successfully competed the approval process
    • rejected: the feature was rejected during the approval process
    • voting: the feature is currently being voted on as part of the approval process
    • proposed: the feature has been formally proposed
    • draft: the feature has a draft proposal being written
    • abandoned: the approval process for this feature has been terminated before completion
    • defacto: the tag is in widespread use, but no formal proposal process has taken place
  • statuslink: name of the proposal page, for linking. Example.
  • website: the main website(s) associated with this feature
  • url_pattern: pattern to generate deep-link URLs for instances of this feature

Language support

  • lang: the BCP 47 language tag (most often based on a ISO 639-1 alpha-2 language code, or ISO 639-2 alpha-3 technical language code, or ISO 639-3 alpha-3 language code otherwise, possibly followed by script/region/variant subtags) for the language used to document this feature: this will generate aspects of the description box in the specified language, if translations are available

Advanced formatting parameters

These parameters can generally be ignored by the majority of users. They are available for fine-tuning the presentation of the description box, and are useful for including in examples, or embedding in tutorial pages.

  • class: specify the CSS class of the HTML table used to form the description box
  • float: specify the CSS float value of the table: set to none to disable the standard right float
  • style: the CSS style to be applied to the HTML table: overrides |float= if present
  • languagelinks: set to no to inhibit links to corresponding pages in other languages


Note: In these examples, long lines have been wrapped for convenience. The advanced formatting parameters, class, float, style and languagelinks are not show, as their values are specific to use as examples.

| key           = dessert
| image         = 
| description   = A dessert is a sweet dish, typically served towards the end of a meal.
| onNode        = yes
| onWay         = no
| onArea        =
| onRelation    = yes
| combination   =
* {{Tag|meal|dinner}}
* {{Tag|sweet||yes}}
| implies       =
* {{Tag|edible||yes}}
| seeAlso       =
* {{Tag|dessert|cheesecake}}
* {{Tag|dessert|gateau}}
| status        = Imaginary
| lang          = en
Public-images-osm logo.svg dessert
Osm element key.svg
A dessert is a sweet dish, typically served towards the end of a meal.
Used on these elements
may be used on nodesshould not be used on waysuse on areas unspecifiedmay be used on relations
Useful combination
See also
Status: Imaginary

| key           = shop
| image         = File:Geograph shop.jpg
| description   = Место розничной торговли или оказания услуг.
| group         = shop
| onNode        = yes
| onWay         = no
| onArea        = yes
| onRelation    = 
| combination   =
* {{Template:RU:Tag|name}}
* {{Template:RU:Tag|opening_hours}}
| implies       = 
| seeAlso       = 
| status        = 
| lang          = ru
Public-images-osm logo.svg shop
Geograph shop.jpg
Место розничной торговли или оказания услуг.
Группа: Shop
Назначается на следующие элементы
точки можно отмечать этим тегомлинии не принято отмечать этим тегомполигоны можно отмечать этим тегомuse on relations unspecified 
Задокументированные значения: 211
Уточняющие теги
Статус: Не указан

| key         = openplaques:id
| description = For plaques listed on OpenPlaques.org.
| website     = http://openplaques.org
| url_pattern = http://openplaques.org/plaques/[value]
| group       = historic
| onNode      = yes
| onWay       = no
| onArea      = no
| lang        = en
Public-images-osm logo.svg openplaques:id
Osm element key.svg
For plaques listed on OpenPlaques.org.
Group: Historic
URL pattern
Used on these elements
may be used on nodesshould not be used on waysshould not be used on areasuse on relations unspecified
Status: Unspecified

See also