Changes between Version 87 and Version 88 of TaggingPresets


Ignore:
Timestamp:
2014-11-06T00:09:52+01:00 (11 years ago)
Author:
Klumbumbus
Comment:

joined "item"

Legend:

Unmodified
Added
Removed
Modified
  • TaggingPresets

    v87 v88  
    6161   Used to group items in sub menus. ''name'' is required, ''icon'' is optional attribute.
    6262 '''<item>'''::
    63    Every item is one annotation set to select from. ''name'' is required, ''type'' is recommended, ''icon'' is optional attribute.
     63   Every item is one annotation set to select from. ''name'' is required, ''type'' and ''preset_name_label'' are recommended, ''icon'' and ''name_template'' are optional attributes.
    6464 '''<separator/>'''::
    6565   Insert a line separator into the menu.
     
    165165 '''preset_name="exact_name"'''::
    166166   The exact name of the preset to link to.
     167 '''preset_name_label="false|true"'''::
     168   Whether to insert "[preset name]" label in dialog (defaults to "false" for backward-compatibility on external presets.
    167169
    168170== Format description from XML document (needs to be joined with above texts) ==
     
    170172
    171173{{{
    172 item:
    173   name: the text to display
    174   icon: the icon to display
    175   - relative to the icon path
    176   - URL's are also supported to allow remote icons (are cached locally)
    177   type: the data types - way,node,relation,closedway (separated by comma)
    178   name_template: define custom formatting for OSM primitives
    179                  see [[NameTemplate]]
    180   preset_name_label: whether to insert "[preset name]" label in dialog
    181                      (defaults to "false" for backward-compatibility on external presets)
    182174
    183175text: text box