Changes between Version 189 and Version 190 of TaggingPresets
- Timestamp:
- 2021-07-20T13:42:40+02:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TaggingPresets
v189 v190 229 229 230 230 ===== name_template and value_template details ===== #name_templatedetails 231 Name templates can be used to define custom formatting for OSM primitives or GPX waypoints (for example in the Relations or Selection windows).231 Name templates can be used to define custom formatting for OSM primitives or GPX waypoints (for example in the Relations or Selection panels). 232 232 233 233 {{{ … … 257 257 * `?{condition1 'value1' | condition2 'value2' | 'value3'}` - use ''value1'' if ''condition1'' is satisfied, else use ''value2'' if ''condition2'' is satisfied, finally use ''value3'' if no condition is satisfied. Condition can be either explicit - in [wikitr:/Help/Action/Search JOSM search] syntax - or implicit: The value is used when all tags referenced inside exist. 258 258 * `!{search_expression 'template'}` - search_expression is evaluated and first matching primitive is used as context for template. Useful for example to get tags of parent relation. 259 * `\` - use a backslash to escape special characters '{', '}', '?', '!'. Eg. `What is this\? It is a {type}\!`. 259 * `\` - use a backslash to escape special characters '{', '}', '?', '!'. E.g. `What is this\? It is a {type}\!`. 260 260 \\ 261 261
