Templates
=========

FinalCif uses two different kinds of templates to to simplify recurring tasks:

* Equipment and Author templates
    They are useful for definitions of parameters like the properties of a measurement device
    or the name and address of the crystallographer. Apply template by double-clicking on one row.
* Property templates
    Property templates define possible dropdown-menus for common CIF keywords like _cell_measurement_temperature.
    The template values are accessible as a dropdown behind the respective key in the main table of FinalCif.

.. image:: pics/templates.png

The templates selection and editor.

Templates can be edited anytime and they can be saved as a CIF file. You can use them for any cif keyword.
Just be creative...

.. image:: pics/property_templates.png

Template editor for crystallization methods.

For example the crystallographer information:

.. image:: pics/equipment_templates.png

Crystallographer details template.

Or just one keyword for only the absolute configuration information:

.. image:: pics/absolute_configuration.png

Absolute configuration template.


Sidenotes
---------

* The predefined templates may change from time to time. To see the current version you can delete the predefined template (edit template-->delete).

* As any other CIF, in order to import a template, it needs a \data_ keyword at the start.

* Templates may be multi-CIFs with multiple data\_ kewords for e.g. multiple machine definitions in one file.

