Include template into template

try to change the template from the panel

  <?php $template = $page->vorlage()->kirbytext();  

  echo $template;

  if ($template == 'vorlage_a')
  
    {
      include('templat_a')

    }

  else
    {
      ......
    }

  ?>