Has to be the main tag of the file. The name of the author of the preset. The version number of the file. For automatic version adjustment of presets managed in this wiki you have to use two internal variables: [[revision]] (the latest version number of the wiki page) and [[date]] (the date of the last edit), e.g. version="1.[[revision]]_[[date]]". Very short overview description i.e. the "name" of the preset.
May be localized (i.e. de.shortdescription)
Description what the file contains.
May be localized (i.e. de.description)
Web link to further details.
May be localized (i.e. de.link)
When the base language is not English, specify it here (using non English preset texts will prevent automatic translation, once it is implemented (#11392)).
Used to group items in sub menus. name is required, icon is optional attribute. Insert a line separator into the menu. Every item is one annotation set to select from. name is required, type and preset_name_label are recommended and icon, name_template, regions and exclude_regions are optional attributes. tag to specify which object types are allowed for a specific relation member. ]]> Custom name formatter for OSM primitives matching this preset. See #name_templatedetails for details. Name templates can be used to define custom formatting for OSM primitives or GPX waypoints (for example in the Relations or the Selection). Additional criteria for matching primitives. Specified in JOSM search syntax. For instance, a preset with match_expression="foo=bar" requires OSM objects to have the tag foo=bar. You may want to use the match_expression to exclude certain OSM objects, for instance when a more specific preset is present. Whether to insert "[preset name]" label in dialog (defaults to "false" for backward-compatibility on external presets). To define a template of elements for later (repeated) use. The id attribute is mandatory. . ]]> This tag will always set a key to a specific value. key is required and if value is present, the key will be set. If value attribute is omitted, the key is removed. The match attribute is optional. This specifies the property key that will be modified by the item. tag. ]]> Specify a web link for this feature or to anything else of use. Either the wiki (referring to an OSM wiki page, e.g. "Tag:leisure=park") or the href (full URL) attribute is required. When the wiki attribute is used the link points to the wiki page of the language JOSM is set to. If it doesn't exist the English page is shown. without text or a identical text value are grouped below one label. Watch out for presets with identical name as it is not predictable to which preset the link will lead to, see #12716. ]]> The exact name of the preset to link to. Labels are static texts for display. text is a required attribute, icon and icon_size are optional. Add some space (i.e. a newline). field for each value, allowing the user to select auto-increment with the given stepping. Auto-increment only happens if the user selects it. There is also a button to deselect auto-increment. Default is no auto-increment. Mutually exclusive with use_last_as_default. ]]> . ]]> values of this preset. For instance, "Bus {ref}: {from} → {to}" can be used to generate the name of a bus route relation. ]]> and . More information see short_descriptions below. The attributes are value, display_value, short_description, icon, icon_size, regions, and exclude_regions. ]]> ]]>

Displays a multiple choice combo box. key and values are mandatory, text, default, editable, delimiter, values_from, display_values, short_descriptions, use_last_as_default, values_searchable, length, values_no_i18n, values_sort, match, regions, and exclude_regions are optional.

If editable is "true" (default), combo boxes can be edited as if they were text fields (additional to the drop down menu). Non editable combo boxes can only contain one of the specified values.

If the key is colour or colour:* or *:colour, a color preview and color picker is added on the right (see #8352).

The combo box is read only, which means that the user can only select an item in the list. Default is "true", which means, the user can add other values as text.
To group checks. The columns attribute is required. ]]> tag of a checked (default is "yes"). ]]> tag of a checked (default is "no"). ]]> is disabled in the dialog, i.e., only unset or "yes" are provided. ]]> , or fields the last used value is used as default. Using "force" enforces this behavior also for already tagged objects. Default is "false". ]]>

Allows to change the matching process, i.e., determining whether the tags of an OSM object fit into this preset. If a preset fits then it is linked in the Tags/Membership dialog.

  • none: neutral, i.e., do not consider this item for matching
  • key!: positive if key matches, negative otherwise
  • keyvalue: positive if key and value matches, neutral otherwise
  • keyvalue!: positive if key and value matches, negative otherwise

and "none" for , , and . ]]>

To specify possible roles of members in relations. The key attribute is required, text, requisite, count, type, member_expression, regions, and exclude_regions are optional. The role name used in a relation. If a relation member is optional or required. Default is "optional". Specify a name for an item. This name will be used in the GUI to display the tagging preset. Translation context for name attribute to separate equals words with different meaning (not required for in-file translations). This specifies the property key that will be modified by the item. check /<, >text /<, >combo /< and >multiselect /<. ]]> ) the gui element. Also used for Translation context for text attribute to separate equals words with different meaning (not required for in-file translations). A list of entries. The list has to be separated by commas (for the combo box) or by the specified delimiter (for the multiselect). If a value contains the delimiter, the delimiter may be escaped with a backslash. If a value contains a backslash, it must also be escaped with a backslash. To use instead of values if the list of values has to be obtained with a Java method of this form: public static String[] getValues(); The value must be: "full.package.name.ClassName#methodName". Translation context for values attribute to separate equals words with different meaning (not required for in-file translations). Disables internationalisation for value to avoid mistakes, see #11696. Default is "false". (Useful e.g. for opening hours or brand names.) Values of are sorted alphabetic in every language. With this attribute you can disable the alphabetic sorting if the values should keep the given order, see #5509 and #11926. (In the JOSM internal preset this is used e.g. for the keys tracktype, direction, network, smoothness, visibility or trail_visibility.) Default is "true".
Users can globally disable sorting with the preference key taggingpreset.sortvalues.
A list of entries that is displayed to the user. Must be the same number and order of entries as values and editable must be "false" or not specified. For the delimiter character and escaping, see the remarks at values. Whether to search in (display_)values when searching for presets. the default is comma. In case of the default is semicolon and this will also be used to separate selected values in the tag. ]]>
, and the default icon size for (in and ). ]]> or box (number of characters allowed). ]]> Comma separated list of countries this preset group or item is applicable for. If not specified, the preset is applicable for all countries. If true, invert the meaning of regions.