Changes between Version 187 and Version 188 of TaggingPresets


Ignore:
Timestamp:
2021-07-07T14:45:56+02:00 (5 years ago)
Author:
leni
Comment:

modified to ; removed space; added target

Legend:

Unmodified
Added
Removed
Modified
  • TaggingPresets

    v187 v188  
    4949 <presets>::
    5050  Has to be the main tag of the file. Supports following attributes
    51   * '''xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"'''
    52   * '''author''' - the name of the author of the preset
    53   * '''version''' - 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]]"`.
    54   * '''description''' (i18n) - description what the file contains
    55   * '''shortdescription''' (i18n) - very short overview description i.e. the "name" of the preset
    56   * '''link''' (i18n) - web link to further details (optional)
    57   * '''icon''' - icon for the whole preset
    58   * '''baselanguage''' - when the base language is not English, specify it here (using non English preset texts will prevent automatic translation, once it is implemented (#11392))
     51  * **xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"**
     52  * **author** - the name of the author of the preset
     53  * **version** - 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]]"`.
     54  * **description** (i18n) - description what the file contains
     55  * **shortdescription** (i18n) - very short overview description i.e. the "name" of the preset
     56  * **link** (i18n) - web link to further details (optional)
     57  * **icon** - icon for the whole preset
     58  * **baselanguage** - when the base language is not English, specify it here (using non English preset texts will prevent automatic translation, once it is implemented (#11392))
    5959
    6060 (i18n) means the values may also be localized (e.g. `de.description`).
     
    221221   `<list_entry value="" display_value="" short_description="" icon="" icon_size="" />`
    222222 values_searchable="true|false"::
    223    Whether to search in `values=""` and `display_values=""`, respectively, `value=""` and `display_value=""` of `<combo />` or `<multiselect />`  searching for presets.
     223   Whether to search in `values=""` and `display_values=""`, respectively, `value=""` and `display_value=""` of `<combo />` or `<multiselect />` searching for presets.
    224224 value_template="template"::
    225225   A template to generate the value automatically based on other tag values of the object. The syntax of `name_template=""` is used, [#NameTemplateSyntax see below]. ''(since r17639)'' \\
     
    228228\\
    229229
    230 ===== name_template details =====
     230===== name_template details ===== #name_templatedetails
    231231Name templates can be used to define custom formatting for OSM primitives or GPX waypoints (for example in the Relations or the Selection).
    232232
     
    242242}}}
    243243
    244 '''Samples'''
     244**Samples**
    245245||= Template =||= Tags =||= Result =||
    246246|| `House number {addr:housenumber}` || `addr:housenumber=10` || House number 10