id-tagging-schema/data/presets/@templates
Tobias b1ab6e35cf crossing: Add lit to all crossing "way" geometry presets via new @template/geometry_way_more
The "lit" value was present on some of the presets before and is common to be applied to all kind of ways.
2024-04-26 13:18:32 +02:00
..
crossing crossing: Add lit to all crossing "way" geometry presets via new @template/geometry_way_more 2024-04-26 13:18:32 +02:00
contact.json add field for Mobile Phone number (mobile/contact:mobile) 2023-05-23 14:55:08 +02:00
internet_access.json consolidate optional fields of "POI" presets into template "presets" 2023-04-13 21:18:08 +02:00
poi.json remove opening_hours:covid19 field, closes #963 2023-08-04 16:37:27 +02:00
README.md crossing: Add readme docs on the presets/@templates 2024-04-26 13:18:32 +02:00

About @templates

Presets in @templats are a convention for a specific type of presets that are only used from inside other presets.

The only fields that really matter for these special presets are the fields.

All other properties can be copied from existing presets and ignored. They are default values that are meant to

How to use

Inside another preset, reference the template or any other preset - like "{@templates/internet_access}" in fields or moreFields. This will "copy" all the listed fields from the file data/presets/@templates/internet_access.json.

You can only "copy" (template) fields to (preset) fields and (template) moreFields to (preset) moreFields.