mirror of
https://github.com/FoggedLens/id-tagging-schema.git
synced 2026-05-17 22:24:42 +02:00
crossing: Add readme docs on the presets/@templates
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 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`.
|
||||
Reference in New Issue
Block a user