id-tagging-schema/data/presets/@templates
2024-05-22 17:59:15 +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 fix typo, minor rewording 2024-05-22 17:59:15 +02:00

About @templates

Presets in @templates are a convention for a virtual presets that are only used from inside other presets.

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

All other properties can be copied from existing template presets and ignored. They are default values that are meant to match all cases where they might be referenced.

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.