.. include:: /Includes.rst.txt
.. _field_type_palette:
=======
Palette
=======
The :yaml:`Palette` field is used to group other fields. Grouped fields will be
displayed next to each other rather than below each other.
Labels
======
XLF translation keys for Palettes have the following convention:
.. code-block:: xml
Examples
========
Minimal
-------
.. code-block:: yaml
name: example/palette
fields:
- identifier: palette_1
type: Palette
label: Palette 1
description: My palette description
fields:
- identifier: number
type: Number
- identifier: text
type: Text
For in-depth information about palettes refer to the :ref:`TCA documentation `.