Versatile anion-π interactions between halides and a conformationally rigid bis(tetraoxacalix[2]arene[2]triazine) cage and their directing effect on molecular assembly.