{# Copyright 2020 Karlsruhe Institute of Technology # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #}

Templates

Templates enable the creation of blueprints for resources. There are different types of templates, which define the actual content that a template can contain. The following types of templates currently exist:

Record
Record templates can contain all of the metadata that can be specified for a record, including its generic extra metadata, and can be selected when creating a new record.
Extras
Extras templates are focused on the generic extra metadata of a record. Extras templates can be selected and combined wherever such metadata can be specified, including when creating other templates.
Creating a new template

Creating a new template is very similar to creating other kinds of resources. Each template requires at least setting a title and identifier for the template itself, while the actual template data depends on the type of template.

Managing existing templates

Similar to other resources, templates have their own navigation menu, offering the ability to edit existing templates or to share them with other users or groups. As with the other resources, the menu for the former also allows deleting templates. Note that compared to other resources, templates will currently be deleted directly and are not moved to the trash first.