From Tiki 15 onwards, it is possible to include contents of other YAML files in profiles depending on branching logic.
!Basic usage
The basic usage is through the use of the !include directive. In YAML, the "!" preceding the string means that that is a directive and some kiind of execution is to happen, returning some kind of output that replaces the directive.